Bernard Ladenthin : oleaut32: Better OleIconToCursor stub.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jan 3 05:37:40 CST 2007


Module: wine
Branch: master
Commit: 26f29fdad015494df24d3c8d78f9d6272e001100
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=26f29fdad015494df24d3c8d78f9d6272e001100

Author: Bernard Ladenthin <bernard at ladenthin.net>
Date:   Sat Dec 30 04:49:27 2006 +0100

oleaut32: Better OleIconToCursor stub.

---

 dlls/oleaut32/oleaut.c |   10 ++++++++++
 dlls/oleaut32/stubs.c  |    9 ---------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/dlls/oleaut32/oleaut.c b/dlls/oleaut32/oleaut.c
index d6a08a9..1fe68b8 100644
--- a/dlls/oleaut32/oleaut.c
+++ b/dlls/oleaut32/oleaut.c
@@ -837,3 +837,13 @@ BOOL WINAPI DllMain(HINSTANCE hInstDll,
 
   return TRUE;
 }
+
+/***********************************************************************
+ *              OleIconToCursor (OLEAUT32.415)
+ */
+HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hIcon)
+{
+    FIXME("(%p,%p), partially implemented.\n",hinstExe,hIcon);
+    /* FIXME: make a extended conversation from HICON to HCURSOR */
+    return CopyCursor(hIcon);
+}
diff --git a/dlls/oleaut32/stubs.c b/dlls/oleaut32/stubs.c
index ac2d494..d87e76e 100644
--- a/dlls/oleaut32/stubs.c
+++ b/dlls/oleaut32/stubs.c
@@ -33,15 +33,6 @@
 WINE_DEFAULT_DEBUG_CHANNEL(ole);
 
 /***********************************************************************
- * OleIconToCursor (OLEAUT32.415)
- */
-HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon)
-{
-	FIXME("(%p,%p), not implemented (olepro32.dll)\n",hinstExe,hicon);
-	return S_OK;
-}
-
-/***********************************************************************
  * OleCreatePropertyFrameIndirect (OLEAUT32.416)
  */
 HRESULT WINAPI OleCreatePropertyFrameIndirect( LPOCPFIPARAMS lpParams)




More information about the wine-cvs mailing list