1 | /* $Id: ole2.h,v 1.1 1999-05-24 20:19:16 ktk Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * ole2.h - Declarations for OLE2
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef __WINE_OLE2_H
|
---|
8 | #define __WINE_OLE2_H
|
---|
9 |
|
---|
10 | #include "windef.h"
|
---|
11 | #include "winerror.h"
|
---|
12 | #include "oleidl.h"
|
---|
13 | #include "oleauto.h"
|
---|
14 |
|
---|
15 | #define OLEIVERB_PRIMARY (0L)
|
---|
16 | #define OLEIVERB_SHOW (-1L)
|
---|
17 | #define OLEIVERB_OPEN (-2L)
|
---|
18 | #define OLEIVERB_HIDE (-3L)
|
---|
19 | #define OLEIVERB_UIACTIVATE (-4L)
|
---|
20 | #define OLEIVERB_INPLACEACTIVATE (-5L)
|
---|
21 | #define OLEIVERB_DISCARDUNDOSTATE (-6L)
|
---|
22 | #define OLEIVERB_PROPERTIES (-7L)
|
---|
23 |
|
---|
24 | /*
|
---|
25 | * API declarations
|
---|
26 | */
|
---|
27 | HRESULT WINAPI RegisterDragDrop16(HWND16,LPDROPTARGET);
|
---|
28 | HRESULT WINAPI RegisterDragDrop(HWND,LPDROPTARGET);
|
---|
29 | HRESULT WINAPI RevokeDragDrop16(HWND16);
|
---|
30 | HRESULT WINAPI RevokeDragDrop(HWND);
|
---|
31 | HRESULT WINAPI DoDragDrop16(LPDATAOBJECT,LPDROPSOURCE,DWORD,DWORD*);
|
---|
32 | HRESULT WINAPI DoDragDrop(LPDATAOBJECT,LPDROPSOURCE,DWORD,DWORD*);
|
---|
33 | HRESULT WINAPI OleLoadFromStream(IStream *pStm,REFIID iidInterface,void** ppvObj);
|
---|
34 | HRESULT WINAPI OleSaveToStream(IPersistStream *pPStm,IStream *pStm);
|
---|
35 | HOLEMENU WINAPI OleCreateMenuDescriptor(HMENU hmenuCombined,LPOLEMENUGROUPWIDTHS lpMenuWidths);
|
---|
36 | HRESULT WINAPI OleDestroyMenuDescriptor(HOLEMENU hmenuDescriptor);
|
---|
37 | HRESULT WINAPI OleSetMenuDescriptor(HOLEMENU hmenuDescriptor,HWND hwndFrame,HWND hwndActiveObject,LPOLEINPLACEFRAME lpFrame,LPOLEINPLACEACTIVEOBJECT lpActiveObject);
|
---|
38 |
|
---|
39 | HRESULT WINAPI ReadClassStg(IStorage *pstg,CLSID *pclsid);
|
---|
40 | HRESULT WINAPI WriteClassStm(IStream *pStm,REFCLSID rclsid);
|
---|
41 | HRESULT WINAPI ReadClassStm(IStream *pStm,REFCLSID pclsid);
|
---|
42 |
|
---|
43 |
|
---|
44 | HRESULT WINAPI OleSave(LPPERSISTSTORAGE pPS, LPSTORAGE pStg, BOOL fSameAsLoad);
|
---|
45 | HRESULT WINAPI OleRegGetMiscStatus (REFCLSID clsid, DWORD dwAspect, DWORD* pdwStatus);
|
---|
46 | HRESULT WINAPI CreateStreamOnHGlobal (HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPSTREAM* ppstm);
|
---|
47 | HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum);
|
---|
48 | BOOL WINAPI OleIsRunning(LPOLEOBJECT pObject);
|
---|
49 | HRESULT WINAPI OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid,
|
---|
50 | DWORD renderopt, LPFORMATETC pFormatEtc,
|
---|
51 | LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
|
---|
52 | LPVOID* ppvObj);
|
---|
53 | HRESULT WINAPI OleSetContainedObject(LPUNKNOWN pUnknown, BOOL fContained);
|
---|
54 | HRESULT WINAPI OleQueryLinkFromData(IDataObject* pSrcDataObject);
|
---|
55 | HRESULT WINAPI OleQueryCreateFromData(LPDATAOBJECT pSrcDataObject);
|
---|
56 | HRESULT WINAPI OleRun(LPUNKNOWN pUnknown);
|
---|
57 | HRESULT WINAPI OleGetClipboard(IDataObject** ppDataObj);
|
---|
58 | HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid,
|
---|
59 | DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
|
---|
60 | LPSTORAGE pStg, LPVOID* ppvObj);
|
---|
61 | HRESULT WINAPI ReadFmtUserTypeStg(LPSTORAGE pstg, CLIPFORMAT* pcf, LPOLESTR* lplpszUserType);
|
---|
62 | HRESULT WINAPI OleLoad(LPSTORAGE pStg, REFIID riid, LPOLECLIENTSITE pClientSite, LPVOID* ppvObj);
|
---|
63 | HRESULT WINAPI GetHGlobalFromILockBytes(LPLOCKBYTES plkbyt, HGLOBAL* phglobal);
|
---|
64 | HRESULT WINAPI CreateILockBytesOnHGlobal(HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPLOCKBYTES* pplkbyt);
|
---|
65 | HRESULT WINAPI CreateDataAdviseHolder(LPDATAADVISEHOLDER* ppDAHolder);
|
---|
66 | HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel);
|
---|
67 | HRESULT WINAPI OleLockRunning(LPUNKNOWN pUnknown, BOOL fLock, BOOL fLastUnlockCloses);
|
---|
68 | HRESULT WINAPI OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid,
|
---|
69 | DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj);
|
---|
70 | HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
|
---|
71 | LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj);
|
---|
72 | HRESULT WINAPI OleCreate(REFCLSID rclsid, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
|
---|
73 | LPSTORAGE pStg, LPVOID* ppvObj);
|
---|
74 | HRESULT WINAPI OleFlushClipboard();
|
---|
75 | HRESULT WINAPI SetConvertStg(LPSTORAGE pStg, BOOL fConvert);
|
---|
76 | BOOL WINAPI IsAccelerator(HACCEL hAccel, int cAccelEntries, LPMSG lpMsg, WORD* lpwCmd);
|
---|
77 | HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
|
---|
78 | LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj);
|
---|
79 | HRESULT WINAPI OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat, UINT uiFlags);
|
---|
80 | HRESULT WINAPI WriteFmtUserTypeStg(LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType);
|
---|
81 | HRESULT WINAPI OleTranslateAccelerator (LPOLEINPLACEFRAME lpFrame, LPOLEINPLACEFRAMEINFO lpFrameInfo, LPMSG lpmsg);
|
---|
82 | HRESULT WINAPI OleCreateFromData(LPDATAOBJECT pSrcDataObj, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc,
|
---|
83 | LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj);
|
---|
84 |
|
---|
85 | #endif /* __WINE_OLE2_H */
|
---|
86 |
|
---|