dlls/shell32/shellord.c: let SHDragDrop functions at least call the OLE functions

Rolf Kalbermatter rolf.kalbermatter at citeng.com
Sun Dec 15 14:53:51 CST 2002


Changelog
  * dlls/shell32/shellord.c
    Do at least something for SHDragDrop functions although that isn't the complete operation

Rolf Kalbermatter
 
Index: dlls/shell32/shellord.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shellord.c,v
retrieving revision 1.109
diff -u -r1.109 shellord.c
--- dlls/shell32/shellord.c	13 Dec 2002 00:36:52 -0000	1.109
+++ dlls/shell32/shellord.c	15 Dec 2002 20:47:32 -0000
@@ -415,7 +415,8 @@
 HRESULT WINAPI SHRevokeDragDrop(HWND hWnd)
 {
     FIXME("(%p):semi-stub.\n",hWnd);
-    return 0;
+	if (GetShellOle()) return pRevokeDragDrop(hWnd);
+        return 0;
 }
 
 /*************************************************************************
@@ -433,7 +434,8 @@
 {
     FIXME("(%p %p %p 0x%08lx %p):semi-stub.\n",
     hWnd, lpDataObject, lpDropSource, dwOKEffect, pdwEffect);
-    return 0;
+	if (GetShellOle()) return pDoDragDrop(lpDataObject, lpDropSource, dwOKEffect, pdwEffect);
+        return 0;
 }
 
 /*************************************************************************

Rolf Kalbermatter
 




More information about the wine-patches mailing list