[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: shlobj.h [resend]
From: Martin Fuchs <martin-fuchs () gmx ! net>
Date: 2003-08-30 15:31:46
[Download RAW message or body]
> Your patch is unfortunately wrapped. shlguid.h suffers from the same
> problem.
OK, now as attachement.
Changelog:
* define interface IDragSourceHelper
* define interface IDropTargetHelper
I will post the 'const' correction for LPCITEMIDLIST as a separate change,
because there has to be adjusted more in dlls/shell32.
--
Martin Fuchs
martin-fuchs@gmx.net
["shlobj.diff" (text/x-diff)]
Index: shlobj.h
===================================================================
RCS file: /home/wine/wine/include/shlobj.h,v
retrieving revision 1.68
diff -u -r1.68 shlobj.h
--- shlobj.h 28 Aug 2003 21:43:35 -0000 1.68
+++ shlobj.h 30 Aug 2003 15:00:25 -0000
@@ -606,6 +607,45 @@
} DROPFILES, *LPDROPFILES;
#include <poppack.h>
+
+
+#if (_WIN32_IE >= 0x0500)
+
+//#include <pshpack8.h>
+typedef struct
+{
+ SIZE sizeDragImage;
+ POINT ptOffset;
+ HBITMAP hbmpDragImage;
+ COLORREF crColorKey;
+} SHDRAGIMAGE, *LPSHDRAGIMAGE;
+//#include <poppack.h>
+
+#undef INTERFACE
+#define INTERFACE IDragSourceHelper
+DECLARE_INTERFACE_(IDragSourceHelper, IUnknown)
+{
+ STDMETHOD (QueryInterface)(THIS_ REFIID riid, void **ppv) PURE;
+ STDMETHOD_(ULONG, AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG, Release) (THIS) PURE;
+ STDMETHOD (InitializeFromBitmap)(THIS_ LPSHDRAGIMAGE pshdi, IDataObject* \
pDataObject) PURE; + STDMETHOD (InitializeFromWindow)(THIS_ HWND hwnd, POINT* ppt, \
IDataObject* pDataObject) PURE; +};
+
+#undef INTERFACE
+#define INTERFACE IDropTargetHelper
+DECLARE_INTERFACE_(IDropTargetHelper, IUnknown)
+{
+ STDMETHOD (QueryInterface)(THIS_ REFIID riid, void** ppv) PURE;
+ STDMETHOD_(ULONG, AddRef) (THIS) PURE;
+ STDMETHOD_(ULONG, Release) (THIS) PURE;
+ STDMETHOD (DragEnter)(THIS_ HWND hwndTarget, IDataObject* pDataObject, POINT* ppt, \
DWORD dwEffect) PURE; + STDMETHOD (DragLeave)(THIS) PURE;
+ STDMETHOD (DragOver)(THIS_ POINT* ppt, DWORD dwEffect) PURE;
+ STDMETHOD (Drop)(THIS_ IDataObject* pDataObject, POINT* ppt, DWORD dwEffect) PURE;
+ STDMETHOD (Show)(THIS_ BOOL fShow) PURE;
+};
+#endif /* _WIN32_IE >= 0x0500 */
#ifdef __cplusplus
} /* extern "C" */
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic