12 #define E_DRAW VIEW_E_DRAW
13 #define DATA_E_FORMATETC DV_E_FORMATETC
14 #define OLEIVERB_PRIMARY (0L)
15 #define OLEIVERB_SHOW (-1L)
16 #define OLEIVERB_OPEN (-2L)
17 #define OLEIVERB_HIDE (-3L)
18 #define OLEIVERB_UIACTIVATE (-4L)
19 #define OLEIVERB_INPLACEACTIVATE (-5L)
20 #define OLEIVERB_DISCARDUNDOSTATE (-6L)
21 #define EMBDHLP_INPROC_HANDLER 0x0000L
22 #define EMBDHLP_INPROC_SERVER 0x0001L
23 #define EMBDHLP_CREATENOW 0x00000000L
24 #define EMBDHLP_DELAYCREATE 0x00010000L
27 typedef struct _OLESTREAMVTBL
*LPOLESTREAMVTBL
;
28 typedef struct _OLESTREAM
{
29 LPOLESTREAMVTBL lpstbl
;
30 } OLESTREAM
,*LPOLESTREAM
;
31 typedef struct _OLESTREAMVTBL
{
32 DWORD (CALLBACK
* Get
)(LPOLESTREAM
,void*,DWORD
);
33 DWORD (CALLBACK
* Put
)(LPOLESTREAM
,const void*,DWORD
);
36 WINOLEAPI
CreateDataAdviseHolder(LPDATAADVISEHOLDER
*);
37 WINOLEAPI_(DWORD
) OleBuildVersion(void);
38 WINOLEAPI
ReadClassStg(LPSTORAGE
,CLSID
*);
39 WINOLEAPI
WriteClassStg(LPSTORAGE
,REFCLSID
);
40 WINOLEAPI
ReadClassStm(LPSTREAM
,CLSID
*);
41 WINOLEAPI
WriteClassStm(LPSTREAM
,REFCLSID
);
42 WINOLEAPI
WriteFmtUserTypeStg(LPSTORAGE
,CLIPFORMAT
,LPOLESTR
);
43 WINOLEAPI
ReadFmtUserTypeStg(LPSTORAGE
,CLIPFORMAT
*,LPOLESTR
*);
44 WINOLEAPI
OleInitialize(PVOID
);
45 WINOLEAPI_(void) OleUninitialize(void);
46 WINOLEAPI
OleQueryLinkFromData(LPDATAOBJECT
);
47 WINOLEAPI
OleQueryCreateFromData(LPDATAOBJECT
);
48 WINOLEAPI
OleCreate(REFCLSID
,REFIID
,DWORD
,LPFORMATETC
,LPOLECLIENTSITE
,LPSTORAGE
,PVOID
*);
49 WINOLEAPI
OleCreateFromData(LPDATAOBJECT
,REFIID
,DWORD
,LPFORMATETC
,LPOLECLIENTSITE
,LPSTORAGE
,PVOID
*);
50 WINOLEAPI
OleCreateLinkFromData(LPDATAOBJECT
,REFIID
,DWORD
,LPFORMATETC
,LPOLECLIENTSITE
,LPSTORAGE
,PVOID
*);
51 WINOLEAPI
OleCreateStaticFromData(LPDATAOBJECT
,REFIID
,DWORD
,LPFORMATETC
,LPOLECLIENTSITE
,LPSTORAGE
,PVOID
*);
52 WINOLEAPI
OleCreateLink(LPMONIKER
,REFIID
,DWORD
,LPFORMATETC
,LPOLECLIENTSITE
,LPSTORAGE
,PVOID
*);
53 WINOLEAPI
OleCreateLinkToFile(LPCOLESTR
,REFIID
,DWORD
,LPFORMATETC
,LPOLECLIENTSITE
,LPSTORAGE
,PVOID
*);
54 WINOLEAPI
OleCreateFromFile(REFCLSID
,LPCOLESTR
,REFIID
,DWORD
,LPFORMATETC
,LPOLECLIENTSITE
,LPSTORAGE
,PVOID
*);
55 WINOLEAPI
OleLoad(LPSTORAGE
,REFIID
,LPOLECLIENTSITE
,PVOID
*);
56 WINOLEAPI
OleSave(LPPERSISTSTORAGE
,LPSTORAGE
,BOOL
);
57 WINOLEAPI
OleLoadFromStream(LPSTREAM
,REFIID
,PVOID
*);
58 WINOLEAPI
OleSaveToStream(LPPERSISTSTREAM
,LPSTREAM
);
59 WINOLEAPI
OleSetContainedObject(LPUNKNOWN
,BOOL
);
60 WINOLEAPI
OleNoteObjectVisible(LPUNKNOWN
,BOOL
);
61 WINOLEAPI
RegisterDragDrop(HWND
,LPDROPTARGET
);
62 WINOLEAPI
RevokeDragDrop(HWND
);
63 WINOLEAPI
DoDragDrop(LPDATAOBJECT
,LPDROPSOURCE
,DWORD
,PDWORD
);
64 WINOLEAPI
OleSetClipboard(LPDATAOBJECT
);
65 WINOLEAPI
OleGetClipboard(LPDATAOBJECT
*);
66 WINOLEAPI
OleFlushClipboard(void);
67 WINOLEAPI
OleIsCurrentClipboard(LPDATAOBJECT
);
68 WINOLEAPI_(HOLEMENU
) OleCreateMenuDescriptor(HMENU
,LPOLEMENUGROUPWIDTHS
);
69 WINOLEAPI
OleSetMenuDescriptor(HOLEMENU
,HWND
,HWND
,LPOLEINPLACEFRAME
,LPOLEINPLACEACTIVEOBJECT
);
70 WINOLEAPI
OleDestroyMenuDescriptor(HOLEMENU
);
71 WINOLEAPI
OleTranslateAccelerator(LPOLEINPLACEFRAME
,LPOLEINPLACEFRAMEINFO
,LPMSG
);
72 WINOLEAPI_(HANDLE
) OleDuplicateData(HANDLE
,CLIPFORMAT
,UINT
);
73 WINOLEAPI
OleDraw(LPUNKNOWN
,DWORD
,HDC
,LPCRECT
);
74 WINOLEAPI
OleRun(LPUNKNOWN
);
75 WINOLEAPI_(BOOL
) OleIsRunning(LPOLEOBJECT
);
76 WINOLEAPI
OleLockRunning(LPUNKNOWN
,BOOL
,BOOL
);
77 WINOLEAPI_(void) ReleaseStgMedium(LPSTGMEDIUM
);
78 WINOLEAPI
CreateOleAdviseHolder(LPOLEADVISEHOLDER
*);
79 WINOLEAPI
OleCreateDefaultHandler(REFCLSID
,LPUNKNOWN
,REFIID
,PVOID
*);
80 WINOLEAPI
OleCreateEmbeddingHelper(REFCLSID
,LPUNKNOWN
,DWORD
,LPCLASSFACTORY
,REFIID
,PVOID
*);
81 WINOLEAPI_(BOOL
) IsAccelerator(HACCEL
,int,LPMSG
,WORD
*);
82 WINOLEAPI_(HGLOBAL
) OleGetIconOfFile(LPOLESTR
,BOOL
);
83 WINOLEAPI_(HGLOBAL
) OleGetIconOfClass(REFCLSID
,LPOLESTR
,BOOL
);
84 WINOLEAPI_(HGLOBAL
) OleMetafilePictFromIconAndLabel(HICON
,LPOLESTR
,LPOLESTR
,UINT
);
85 WINOLEAPI
OleRegGetUserType(REFCLSID
,DWORD
,LPOLESTR
*);
86 WINOLEAPI
OleRegGetMiscStatus(REFCLSID
,DWORD
,DWORD
*);
87 WINOLEAPI
OleRegEnumFormatEtc (REFCLSID
,DWORD
,LPENUMFORMATETC
*);
88 WINOLEAPI
OleRegEnumVerbs (REFCLSID
,LPENUMOLEVERB
*);
89 WINOLEAPI
OleConvertOLESTREAMToIStorage(LPOLESTREAM
,LPSTORAGE
,const DVTARGETDEVICE
*);
90 WINOLEAPI
OleConvertIStorageToOLESTREAM(LPSTORAGE
,LPOLESTREAM
);
91 WINOLEAPI
GetHGlobalFromILockBytes(LPLOCKBYTES
,HGLOBAL
*);
92 WINOLEAPI
CreateILockBytesOnHGlobal(HGLOBAL
,BOOL
,LPLOCKBYTES
*);
93 WINOLEAPI
GetHGlobalFromStream(LPSTREAM
,HGLOBAL
*);
94 WINOLEAPI
CreateStreamOnHGlobal(HGLOBAL
,BOOL
,LPSTREAM
*);
95 WINOLEAPI
OleDoAutoConvert(LPSTORAGE
,LPCLSID
);
96 WINOLEAPI
OleGetAutoConvert(REFCLSID
,LPCLSID
);
97 WINOLEAPI
OleSetAutoConvert(REFCLSID
,REFCLSID
);
98 WINOLEAPI
GetConvertStg(LPSTORAGE
);
99 WINOLEAPI
SetConvertStg(LPSTORAGE
,BOOL
);
100 WINOLEAPI
OleConvertIStorageToOLESTREAMEx(LPSTORAGE
,CLIPFORMAT
,LONG
,LONG
,DWORD
,LPSTGMEDIUM
,LPOLESTREAM
);
101 WINOLEAPI
OleConvertOLESTREAMToIStorageEx(LPOLESTREAM
,LPSTORAGE
,CLIPFORMAT
*,LONG
*,LONG
*,DWORD
*,LPSTGMEDIUM
);