2 * Copyright (C) 1999 Paul Quinn
3 * Copyright (C) 1999 Francis Beaudet
4 * Copyright (C) 2003 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
25 interface IOleInPlaceActiveObject
;
27 cpp_quote
("#include <winuser.h>")
29 /*****************************************************************************
33 uuid(b0916c84
-7416-101a
-bcea
-08002b2b79ef
)
37 typedef enum tagOLERENDER
43 } OLERENDER
, *LPOLERENDER
;
45 typedef struct tagOBJECTDESCRIPTOR
53 DWORD dwFullUserTypeName
;
55 } OBJECTDESCRIPTOR
, *POBJECTDESCRIPTOR
, *LPOBJECTDESCRIPTOR
,
56 LINKSRCDESCRIPTOR
, *PLINKSRCDESCRIPTOR
, *LPLINKSRCDESCRIPTOR
;
60 /*****************************************************************************
61 * IOleWindow interface
65 uuid(00000114-0000-0000-c000
-000000000046),
66 pointer_default(unique)
68 interface IOleWindow
: IUnknown
70 typedef [unique] IOleWindow
*LPOLEWINDOW
;
75 HRESULT ContextSensitiveHelp
(
76 [in] BOOL fEnterMode
);
80 /*****************************************************************************
81 * IOleInPlaceObject interface
85 uuid(00000113-0000-0000-c000
-000000000046),
86 pointer_default(unique)
88 interface IOleInPlaceObject
: IOleWindow
90 typedef [unique] IOleInPlaceObject
*LPOLEINPLACEOBJECT
;
92 HRESULT InPlaceDeactivate
();
94 HRESULT UIDeactivate
();
96 HRESULT SetObjectRects
(
97 [in] LPCRECT lprcPosRect
,
98 [in] LPCRECT lprcClipRect
);
100 HRESULT ReactivateAndUndo
();
104 /*****************************************************************************
105 * IOleInPlaceUIWindow interface
109 uuid(00000115-0000-0000-c000
-000000000046),
110 pointer_default(unique)
113 interface IOleInPlaceUIWindow
: IOleWindow
115 typedef [unique] IOleInPlaceUIWindow
*LPOLEINPLACEUIWINDOW
;
117 typedef RECT BORDERWIDTHS
;
118 typedef LPRECT LPBORDERWIDTHS
;
119 typedef LPCRECT LPCBORDERWIDTHS
;
122 [out] LPRECT lprectBorder
);
124 HRESULT RequestBorderSpace
(
125 [in, unique] LPCBORDERWIDTHS pborderwidths
);
127 HRESULT SetBorderSpace
(
128 [in, unique] LPCBORDERWIDTHS pborderwidths
);
130 HRESULT SetActiveObject
(
131 [in, unique] IOleInPlaceActiveObject
*pActiveObject
,
132 [in, string, unique] LPCOLESTR pszObjName
);
136 /* avoid conflict with Wine Unicode macros */
137 cpp_quote
("#ifdef WINE_NO_UNICODE_MACROS")
138 cpp_quote
("#undef TranslateAccelerator")
141 /*****************************************************************************
142 * IOleInPlaceFrame interface
146 uuid(00000116-0000-0000-c000
-000000000046),
147 pointer_default(unique)
149 interface IOleInPlaceFrame
: IOleInPlaceUIWindow
151 typedef [unique] IOleInPlaceFrame
*LPOLEINPLACEFRAME
;
153 typedef struct tagOleInPlaceFrameInfo
160 } OLEINPLACEFRAMEINFO
, *LPOLEINPLACEFRAMEINFO
;
162 typedef struct tagOleMenuGroupWidths
165 } OLEMENUGROUPWIDTHS
, *LPOLEMENUGROUPWIDTHS
;
167 typedef HGLOBAL HOLEMENU
;
170 [in] HMENU hmenuShared
,
171 [in,out] LPOLEMENUGROUPWIDTHS lpMenuWidths
);
174 [in] HMENU hmenuShared
,
175 [in] HOLEMENU holemenu
,
176 [in] HWND hwndActiveObject
);
179 [in] HMENU hmenuShared
);
181 HRESULT SetStatusText
(
182 [in, unique] LPCOLESTR pszStatusText
);
184 HRESULT EnableModeless
(
187 HRESULT TranslateAccelerator
(
193 /*****************************************************************************
194 * IOleInPlaceActiveObject interface
198 uuid(00000117-0000-0000-c000
-000000000046)
200 interface IOleInPlaceActiveObject
: IOleWindow
202 typedef [unique] IOleInPlaceActiveObject
*LPOLEINPLACEACTIVEOBJECT
;
205 HRESULT TranslateAccelerator
(
208 [call_as
(TranslateAccelerator
)]
209 HRESULT RemoteTranslateAccelerator
();
211 HRESULT OnFrameWindowActivate
(
212 [in] BOOL fActivate
);
214 HRESULT OnDocWindowActivate
(
215 [in] BOOL fActivate
);
218 HRESULT ResizeBorder
(
219 [in] LPCRECT prcBorder
,
220 [in, unique] IOleInPlaceUIWindow
*pUIWindow
,
221 [in] BOOL fFrameWindow
);
223 [call_as
(ResizeBorder
)]
224 HRESULT RemoteResizeBorder
(
225 [in] LPCRECT prcBorder
,
227 [in, unique, iid_is(riid
)] IOleInPlaceUIWindow
*pUIWindow
,
228 [in] BOOL fFrameWindow
);
230 HRESULT EnableModeless
(
235 /*****************************************************************************
236 * IOleInPlaceSite interface
240 uuid(00000119-0000-0000-c000
-000000000046),
241 pointer_default(unique)
243 interface IOleInPlaceSite
: IOleWindow
245 typedef [unique] IOleInPlaceSite
*LPOLEINPLACESITE
;
247 HRESULT CanInPlaceActivate
();
248 HRESULT OnInPlaceActivate
();
249 HRESULT OnUIActivate
();
251 HRESULT GetWindowContext
(
252 [out] IOleInPlaceFrame
**ppFrame
,
253 [out] IOleInPlaceUIWindow
**ppDoc
,
254 [out] LPRECT lprcPosRect
,
255 [out] LPRECT lprcClipRect
,
256 [in, out] LPOLEINPLACEFRAMEINFO lpFrameInfo
);
259 [in] SIZE scrollExtent
);
261 HRESULT OnUIDeactivate
(
262 [in] BOOL fUndoable
);
264 HRESULT OnInPlaceDeactivate
();
265 HRESULT DiscardUndoState
();
266 HRESULT DeactivateAndUndo
();
268 HRESULT OnPosRectChange
(
269 [in] LPCRECT lprcPosRect
);
273 /*****************************************************************************
274 * IParseDisplayName interface
278 uuid(0000011a
-0000-0000-c000
-000000000046),
279 pointer_default(unique)
281 interface IParseDisplayName
: IUnknown
283 typedef [unique] IParseDisplayName
*LPPARSEDISPLAYNAME
;
285 HRESULT ParseDisplayName
(
286 [in, unique] IBindCtx
*pbc
,
287 [in] LPOLESTR pszDisplayName
,
288 [out] ULONG
*pchEaten
,
289 [out] IMoniker
**ppmkOut
);
293 /*****************************************************************************
294 * IOleContainer interface
298 uuid(0000011b
-0000-0000-c000
-000000000046),
299 pointer_default(unique)
301 interface IOleContainer
: IParseDisplayName
303 typedef [unique] IOleContainer
*LPOLECONTAINER
;
307 [out] IEnumUnknown
**ppenum
);
309 HRESULT LockContainer
(
314 /*****************************************************************************
315 * IOleItemContainer interface
319 uuid(0000011c
-0000-0000-c000
-000000000046),
320 pointer_default(unique)
322 interface IOleItemContainer
: IOleContainer
324 typedef [unique] IOleItemContainer
*LPOLEITEMCONTAINER
;
326 typedef enum tagBINDSPEED
328 BINDSPEED_INDEFINITE
= 1,
329 BINDSPEED_MODERATE
= 2,
330 BINDSPEED_IMMEDIATE
= 3
333 typedef enum tagOLECONTF
335 OLECONTF_EMBEDDINGS
= 1,
338 OLECONTF_ONLYUSER
= 8,
339 OLECONTF_ONLYIFRUNNING
= 16
342 cpp_quote
("#ifdef WINE_NO_UNICODE_MACROS")
343 cpp_quote
("#undef GetObject")
346 [in] LPOLESTR pszItem
,
347 [in] DWORD dwSpeedNeeded
,
348 [in, unique] IBindCtx
*pbc
,
350 [out, iid_is(riid
)] void **ppvObject
);
352 HRESULT GetObjectStorage
(
353 [in] LPOLESTR pszItem
,
354 [in, unique] IBindCtx
*pbc
,
356 [out, iid_is(riid
)] void **ppvStorage
);
359 [in] LPOLESTR pszItem
);
363 /*****************************************************************************
368 uuid(0000011d
-0000-0000-c000
-000000000046)
370 interface IOleLink
: IUnknown
372 typedef [unique] IOleLink
*LPOLELINK
;
374 typedef enum tagOLEUPDATE
376 OLEUPDATE_ALWAYS
= 1,
378 } OLEUPDATE
, *POLEUPDATE
, *LPOLEUPDATE
;
380 typedef enum tagOLELINKBIND
382 OLELINKBIND_EVENIFCLASSDIFF
= 1
385 HRESULT SetUpdateOptions
(
386 [in] DWORD dwUpdateOpt
);
388 HRESULT GetUpdateOptions
(
389 [out] DWORD
*pdwUpdateOpt
);
391 HRESULT SetSourceMoniker
(
392 [in, unique] IMoniker
*pmk
,
393 [in] REFCLSID rclsid
);
395 HRESULT GetSourceMoniker
(
396 [out] IMoniker
**ppmk
);
398 HRESULT SetSourceDisplayName
(
399 [in]LPCOLESTR pszStatusText
);
401 HRESULT GetSourceDisplayName
(
402 [out] LPOLESTR
*ppszDisplayName
);
404 HRESULT BindToSource
(
405 [in] DWORD bindflags
,
406 [in, unique] IBindCtx
*pbc
);
408 HRESULT BindIfRunning
();
410 HRESULT GetBoundSource
(
411 [out] IUnknown
**ppunk
);
413 HRESULT UnbindSource
();
416 [in, unique] IBindCtx
*pbc
);
420 /*****************************************************************************
421 * IOleClientSite interface
425 uuid(00000118-0000-0000-c000
-000000000046),
426 pointer_default(unique)
428 interface IOleClientSite
: IUnknown
430 typedef [unique] IOleClientSite
* LPOLECLIENTSITE
;
432 HRESULT SaveObject
();
436 [in] DWORD dwWhichMoniker
,
437 [out] IMoniker
**ppmk
);
439 HRESULT GetContainer
(
440 [out] IOleContainer
**ppContainer
);
442 HRESULT ShowObject
();
444 HRESULT OnShowWindow
(
447 HRESULT RequestNewObjectLayout
();
451 /*****************************************************************************
452 * IOleCache interface
456 uuid(0000011e-0000-0000-c000
-000000000046),
457 pointer_default(unique)
459 interface IOleCache
: IUnknown
461 typedef [unique] IOleCache
*LPOLECACHE
;
464 [in, unique] FORMATETC
*pformatetc
,
466 [out] DWORD
*pdwConnection
);
469 [in] DWORD dwConnection
);
472 [out] IEnumSTATDATA
**ppenumSTATDATA
);
475 [in, unique] IDataObject
*pDataObject
);
478 [in, unique] FORMATETC
*pformatetc
,
479 [in, unique] STGMEDIUM
*pmedium
,
484 /*****************************************************************************
485 * IOleCache2 interface
489 uuid(00000128-0000-0000-c000
-000000000046),
490 pointer_default(unique)
492 interface IOleCache2
: IOleCache
494 typedef [unique] IOleCache2
*LPOLECACHE2
;
496 const DWORD UPDFCACHE_NODATACACHE
= 0x00000001;
497 const DWORD UPDFCACHE_ONSAVECACHE
= 0x00000002;
498 const DWORD UPDFCACHE_ONSTOPCACHE
= 0x00000004;
499 const DWORD UPDFCACHE_NORMALCACHE
= 0x00000008;
500 const DWORD UPDFCACHE_IFBLANK
= 0x00000010;
501 const DWORD UPDFCACHE_ONLYIFBLANK
= 0x80000000;
503 const DWORD UPDFCACHE_IFBLANKORONSAVECACHE
= (UPDFCACHE_IFBLANK | UPDFCACHE_ONSAVECACHE
);
504 const DWORD UPDFCACHE_ALL
= ((DWORD
)(~
(UPDFCACHE_ONLYIFBLANK
)));
505 const DWORD UPDFCACHE_ALLBUTNODATACACHE
= (UPDFCACHE_ALL
& ((DWORD
)(~UPDFCACHE_NODATACACHE
)));
507 typedef enum tagDISCARDCACHE
509 DISCARDCACHE_SAVEIFDIRTY
= 0,
510 DISCARDCACHE_NOSAVE
= 1
515 [in] LPDATAOBJECT pDataObject
,
517 [in] LPVOID pReserved
);
519 [call_as
(UpdateCache
)]
520 HRESULT RemoteUpdateCache
(
521 [in] LPDATAOBJECT pDataObject
,
523 [in] LONG_PTR pReserved
);
525 HRESULT DiscardCache
(
526 [in] DWORD dwDiscardOptions
);
530 /*****************************************************************************
531 * IOleCacheControl interface
535 uuid(00000129-0000-0000-c000
-000000000046)
537 interface IOleCacheControl
: IUnknown
539 typedef [unique] IOleCacheControl
*LPOLECACHECONTROL
;
542 LPDATAOBJECT pDataObject
);
548 /*****************************************************************************
549 * IEnumOLEVERB interface
553 uuid(00000104-0000-0000-c000
-000000000046),
554 pointer_default(unique)
556 interface IEnumOLEVERB
: IUnknown
558 typedef [unique] IEnumOLEVERB
*LPENUMOLEVERB
;
560 typedef struct tagOLEVERB
563 LPOLESTR lpszVerbName
;
566 } OLEVERB
, *LPOLEVERB
;
568 typedef enum tagOLEVERBATTRIB
570 OLEVERBATTRIB_NEVERDIRTIES
= 1,
571 OLEVERBATTRIB_ONCONTAINERMENU
= 2
577 [out, size_is(celt
), length_is(*pceltFetched
)] LPOLEVERB rgelt
,
578 [out] ULONG
*pceltFetched
);
583 [out, size_is(celt
), length_is(*pceltFetched
)] LPOLEVERB rgelt
,
584 [out] ULONG
*pceltFetched
);
592 [out] IEnumOLEVERB
**ppenum
);
596 /*****************************************************************************
597 * IOleObject interface
601 uuid(00000112-0000-0000-c000
-000000000046),
602 pointer_default(unique)
604 interface IOleObject
: IUnknown
606 typedef [unique] IOleObject
*LPOLEOBJECT
;
608 typedef enum tagOLEGETMONIKER
610 OLEGETMONIKER_ONLYIFTHERE
= 1,
611 OLEGETMONIKER_FORCEASSIGN
= 2,
612 OLEGETMONIKER_UNASSIGN
= 3,
613 OLEGETMONIKER_TEMPFORUSER
= 4
616 typedef enum tagOLEWHICHMK
618 OLEWHICHMK_CONTAINER
= 1,
619 OLEWHICHMK_OBJREL
= 2,
620 OLEWHICHMK_OBJFULL
= 3
623 typedef enum tagUSERCLASSTYPE
625 USERCLASSTYPE_FULL
= 1,
626 USERCLASSTYPE_SHORT
= 2,
627 USERCLASSTYPE_APPNAME
= 3
630 typedef enum tagOLEMISC
632 OLEMISC_RECOMPOSEONRESIZE
= 0x1,
633 OLEMISC_ONLYICONIC
= 0x2,
634 OLEMISC_INSERTNOTREPLACE
= 0x4,
635 OLEMISC_STATIC
= 0x8,
636 OLEMISC_CANTLINKINSIDE
= 0x10,
637 OLEMISC_CANLINKBYOLE1
= 0x20,
638 OLEMISC_ISLINKOBJECT
= 0x40,
639 OLEMISC_INSIDEOUT
= 0x80,
640 OLEMISC_ACTIVATEWHENVISIBLE
= 0x100,
641 OLEMISC_RENDERINGISDEVICEINDEPENDENT
= 0x200,
642 OLEMISC_INVISIBLEATRUNTIME
= 0x400,
643 OLEMISC_ALWAYSRUN
= 0x800,
644 OLEMISC_ACTSLIKEBUTTON
= 0x1000,
645 OLEMISC_ACTSLIKELABEL
= 0x2000,
646 OLEMISC_NOUIACTIVATE
= 0x4000,
647 OLEMISC_ALIGNABLE
= 0x8000,
648 OLEMISC_SIMPLEFRAME
= 0x10000,
649 OLEMISC_SETCLIENTSITEFIRST
= 0x20000,
650 OLEMISC_IMEMODE
= 0x40000,
651 OLEMISC_IGNOREACTIVATEWHENVISIBLE
= 0x80000,
652 OLEMISC_WANTSTOMENUMERGE
= 0x100000,
653 OLEMISC_SUPPORTSMULTILEVELUNDO
= 0x200000
656 typedef enum tagOLECLOSE
658 OLECLOSE_SAVEIFDIRTY
= 0,
660 OLECLOSE_PROMPTSAVE
= 2
663 HRESULT SetClientSite
(
664 [in, unique] IOleClientSite
*pClientSite
);
666 HRESULT GetClientSite
(
667 [out] IOleClientSite
**ppClientSite
);
669 HRESULT SetHostNames
(
670 [in] LPCOLESTR szContainerApp
,
671 [in, unique] LPCOLESTR szContainerObj
);
674 [in] DWORD dwSaveOption
);
677 [in] DWORD dwWhichMoniker
,
678 [in, unique] IMoniker
*pmk
);
682 [in] DWORD dwWhichMoniker
,
683 [out] IMoniker
**ppmk
);
685 HRESULT InitFromData
(
686 [in, unique] IDataObject
*pDataObject
,
688 [in] DWORD dwReserved
);
690 HRESULT GetClipboardData
(
691 [in] DWORD dwReserved
,
692 [out] IDataObject
**ppDataObject
);
696 [in, unique] LPMSG lpmsg
,
697 [in, unique] IOleClientSite
*pActiveSite
,
699 [in] HWND hwndParent
,
700 [in, unique] LPCRECT lprcPosRect
);
703 [out] IEnumOLEVERB
**ppEnumOleVerb
);
707 HRESULT IsUpToDate
();
709 HRESULT GetUserClassID
(
710 [out] CLSID
*pClsid
);
713 [in] DWORD dwFormOfType
,
714 [out] LPOLESTR
*pszUserType
);
717 [in] DWORD dwDrawAspect
,
721 [in] DWORD dwDrawAspect
,
722 [out] SIZEL
*psizel
);
725 [in, unique] IAdviseSink
*pAdvSink
,
726 [out] DWORD
*pdwConnection
);
729 [in] DWORD dwConnection
);
732 [out] IEnumSTATDATA
**ppenumAdvise
);
734 HRESULT GetMiscStatus
(
736 [out] DWORD
*pdwStatus
);
738 HRESULT SetColorScheme
(
739 [in] LOGPALETTE
*pLogpal
);
743 /*****************************************************************************
744 * IOleAdviseHolder interface
749 uuid(00000111-0000-0000-c000
-000000000046)
751 interface IOleAdviseHolder
: IUnknown
753 typedef [unique] IOleAdviseHolder
* LPOLEADVISEHOLDER
;
756 [in, unique] IAdviseSink
*pAdvise
,
757 [out] DWORD
*pdwConnection
);
760 [in] DWORD dwConnection
);
763 [out] IEnumSTATDATA
**ppenumAdvise
);
765 HRESULT SendOnRename
(
766 [in, unique] IMoniker
*pmk
);
768 HRESULT SendOnSave
();
769 HRESULT SendOnClose
();
773 /*****************************************************************************
774 * IContinue interface
778 uuid(0000012a
-0000-0000-c000
-000000000046)
780 interface IContinue
: IUnknown
786 /*****************************************************************************
787 * IViewObject interface
791 uuid(0000010d
-0000-0000-c000
-000000000046)
793 interface IViewObject
: IUnknown
795 typedef [unique] IViewObject
*LPVIEWOBJECT
;
799 [in] DWORD dwDrawAspect
,
801 [in, unique] void * pvAspect
,
802 [in, unique] DVTARGETDEVICE
*ptd
,
803 [in] HDC hdcTargetDev
,
805 [in] LPCRECTL lprcBounds
,
806 [in, unique] LPCRECTL lprcWBounds
,
807 [in] BOOL
(*pfnContinue
)(ULONG_PTR dwContinue
),
808 [in] ULONG_PTR dwContinue
);
812 [in] DWORD dwDrawAspect
,
814 [in] ULONG_PTR pvAspect
,
815 [in, unique] DVTARGETDEVICE
*ptd
,
816 [in] ULONG_PTR hdcTargetDev
,
817 [in] ULONG_PTR hdcDraw
,
818 [in] LPCRECTL lprcBounds
,
819 [in, unique] LPCRECTL lprcWBounds
,
820 [in] IContinue
*pContinue
);
824 [in] DWORD dwDrawAspect
,
826 [in, unique] void *pvAspect
,
827 [in, unique] DVTARGETDEVICE
*ptd
,
828 [in] HDC hicTargetDev
,
829 [out] LOGPALETTE
**ppColorSet
);
831 [call_as
(GetColorSet
)]
832 HRESULT RemoteGetColorSet
(
833 [in] DWORD dwDrawAspect
,
835 [in] ULONG_PTR pvAspect
,
836 [in, unique] DVTARGETDEVICE
*ptd
,
837 [in] ULONG_PTR hicTargetDev
,
838 [out] LOGPALETTE
**ppColorSet
);
842 [in] DWORD dwDrawAspect
,
844 [in, unique] void *pvAspect
,
845 [out] DWORD
*pdwFreeze
);
848 HRESULT RemoteFreeze
(
849 [in] DWORD dwDrawAspect
,
851 [in] ULONG_PTR pvAspect
,
852 [out] DWORD
*pdwFreeze
);
855 [in] DWORD dwFreeze
);
860 [in, unique] IAdviseSink
*pAdvSink
);
864 [out, unique] DWORD
*pAspects
,
865 [out, unique] DWORD
*pAdvf
,
866 [out] IAdviseSink
**ppAdvSink
);
869 HRESULT RemoteGetAdvise
(
870 [out] DWORD
*pAspects
,
872 [out] IAdviseSink
**ppAdvSink
);
876 /*****************************************************************************
877 * IViewObject2 interface
881 uuid(00000127-0000-0000-c000
-000000000046)
883 interface IViewObject2
: IViewObject
885 typedef [unique] IViewObject2
*LPVIEWOBJECT2
;
888 [in] DWORD dwDrawAspect
,
890 [in, unique] DVTARGETDEVICE
* ptd
,
891 [out] LPSIZEL lpsizel
);
895 /*****************************************************************************
896 * IDropSource interface
901 uuid(00000121-0000-0000-c000
-000000000046)
903 interface IDropSource
: IUnknown
905 typedef [unique] IDropSource
*LPDROPSOURCE
;
907 HRESULT QueryContinueDrag
(
908 [in] BOOL fEscapePressed
,
909 [in] DWORD grfKeyState
);
911 HRESULT GiveFeedback
(
912 [in] DWORD dwEffect
);
916 /*****************************************************************************
917 * IDropTarget interface
921 uuid(00000122-0000-0000-c000
-000000000046),
922 pointer_default(unique)
924 interface IDropTarget
: IUnknown
926 typedef [unique] IDropTarget
*LPDROPTARGET
;
928 const DWORD MK_ALT
= 0x20;
929 const DWORD DROPEFFECT_NONE
= 0;
930 const DWORD DROPEFFECT_COPY
= 1;
931 const DWORD DROPEFFECT_MOVE
= 2;
932 const DWORD DROPEFFECT_LINK
= 4;
933 const DWORD DROPEFFECT_SCROLL
= 0x80000000;
934 const DWORD DD_DEFSCROLLINSET
= 11;
935 const DWORD DD_DEFSCROLLDELAY
= 50;
936 const DWORD DD_DEFSCROLLINTERVAL
= 50;
937 const DWORD DD_DEFDRAGDELAY
= 200;
938 const DWORD DD_DEFDRAGMINDIST
= 2;
941 [in, unique] IDataObject
*pDataObj
,
942 [in] DWORD grfKeyState
,
944 [in, out] DWORD
*pdwEffect
);
947 [in] DWORD grfKeyState
,
949 [in, out] DWORD
*pdwEffect
);
954 [in, unique] IDataObject
*pDataObj
,
955 [in] DWORD grfKeyState
,
957 [in, out] DWORD
*pdwEffect
);
960 /*****************************************************************************
961 * IDropSourceNotify interface
965 uuid(0000012b
-0000-0000-c000
-000000000046),
966 pointer_default(unique),
969 interface IDropSourceNotify
: IUnknown
971 HRESULT DragTargetEnter
( [in] HWND hwnd
);
972 HRESULT DragTargetLeave
( void );