85 lines
4.8 KiB
C
85 lines
4.8 KiB
C
/*
|
|
* ole2.h - Declarations for OLE2
|
|
*/
|
|
|
|
#ifndef __WINE_OLE2_H
|
|
#define __WINE_OLE2_H
|
|
|
|
#include "windef.h"
|
|
#include "winerror.h"
|
|
#include "oleidl.h"
|
|
#include "oleauto.h"
|
|
|
|
#define OLEIVERB_PRIMARY (0L)
|
|
#define OLEIVERB_SHOW (-1L)
|
|
#define OLEIVERB_OPEN (-2L)
|
|
#define OLEIVERB_HIDE (-3L)
|
|
#define OLEIVERB_UIACTIVATE (-4L)
|
|
#define OLEIVERB_INPLACEACTIVATE (-5L)
|
|
#define OLEIVERB_DISCARDUNDOSTATE (-6L)
|
|
#define OLEIVERB_PROPERTIES (-7L)
|
|
|
|
/*
|
|
* API declarations
|
|
*/
|
|
HRESULT WINAPI RegisterDragDrop16(HWND16,LPDROPTARGET);
|
|
HRESULT WINAPI RegisterDragDrop(HWND,LPDROPTARGET);
|
|
HRESULT WINAPI RevokeDragDrop16(HWND16);
|
|
HRESULT WINAPI RevokeDragDrop(HWND);
|
|
HRESULT WINAPI DoDragDrop16(LPDATAOBJECT,LPDROPSOURCE,DWORD,DWORD*);
|
|
HRESULT WINAPI DoDragDrop(LPDATAOBJECT,LPDROPSOURCE,DWORD,DWORD*);
|
|
HRESULT WINAPI OleLoadFromStream(IStream *pStm,REFIID iidInterface,void** ppvObj);
|
|
HRESULT WINAPI OleSaveToStream(IPersistStream *pPStm,IStream *pStm);
|
|
HOLEMENU WINAPI OleCreateMenuDescriptor(HMENU hmenuCombined,LPOLEMENUGROUPWIDTHS lpMenuWidths);
|
|
HRESULT WINAPI OleDestroyMenuDescriptor(HOLEMENU hmenuDescriptor);
|
|
HRESULT WINAPI OleSetMenuDescriptor(HOLEMENU hmenuDescriptor,HWND hwndFrame,HWND hwndActiveObject,LPOLEINPLACEFRAME lpFrame,LPOLEINPLACEACTIVEOBJECT lpActiveObject);
|
|
|
|
HRESULT WINAPI ReadClassStg(IStorage *pstg,CLSID *pclsid);
|
|
HRESULT WINAPI WriteClassStm(IStream *pStm,REFCLSID rclsid);
|
|
HRESULT WINAPI ReadClassStm(IStream *pStm,REFCLSID pclsid);
|
|
|
|
|
|
HRESULT WINAPI OleSave(LPPERSISTSTORAGE pPS, LPSTORAGE pStg, BOOL fSameAsLoad);
|
|
HRESULT WINAPI OleRegGetMiscStatus (REFCLSID clsid, DWORD dwAspect, DWORD* pdwStatus);
|
|
HRESULT WINAPI CreateStreamOnHGlobal (HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPSTREAM* ppstm);
|
|
HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum);
|
|
BOOL WINAPI OleIsRunning(LPOLEOBJECT pObject);
|
|
HRESULT WINAPI OleCreateLinkFromData(LPDATAOBJECT pSrcDataObj, REFIID riid,
|
|
DWORD renderopt, LPFORMATETC pFormatEtc,
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg,
|
|
LPVOID* ppvObj);
|
|
HRESULT WINAPI OleSetContainedObject(LPUNKNOWN pUnknown, BOOL fContained);
|
|
HRESULT WINAPI OleQueryLinkFromData(IDataObject* pSrcDataObject);
|
|
HRESULT WINAPI OleQueryCreateFromData(LPDATAOBJECT pSrcDataObject);
|
|
HRESULT WINAPI OleRun(LPUNKNOWN pUnknown);
|
|
HRESULT WINAPI OleGetClipboard(IDataObject** ppDataObj);
|
|
HRESULT WINAPI OleCreateStaticFromData(LPDATAOBJECT pSrcDataObj, REFIID iid,
|
|
DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
|
|
LPSTORAGE pStg, LPVOID* ppvObj);
|
|
HRESULT WINAPI ReadFmtUserTypeStg(LPSTORAGE pstg, CLIPFORMAT* pcf, LPOLESTR* lplpszUserType);
|
|
HRESULT WINAPI OleLoad(LPSTORAGE pStg, REFIID riid, LPOLECLIENTSITE pClientSite, LPVOID* ppvObj);
|
|
HRESULT WINAPI GetHGlobalFromILockBytes(LPLOCKBYTES plkbyt, HGLOBAL* phglobal);
|
|
HRESULT WINAPI CreateILockBytesOnHGlobal(HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPLOCKBYTES* pplkbyt);
|
|
HRESULT WINAPI CreateDataAdviseHolder(LPDATAADVISEHOLDER* ppDAHolder);
|
|
HGLOBAL WINAPI OleGetIconOfClass(REFCLSID rclsid, LPOLESTR lpszLabel, BOOL fUseTypeAsLabel);
|
|
HRESULT WINAPI OleLockRunning(LPUNKNOWN pUnknown, BOOL fLock, BOOL fLastUnlockCloses);
|
|
HRESULT WINAPI OleCreateFromFile(REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid,
|
|
DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj);
|
|
HRESULT WINAPI OleCreateLink(LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj);
|
|
HRESULT WINAPI OleCreate(REFCLSID rclsid, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite,
|
|
LPSTORAGE pStg, LPVOID* ppvObj);
|
|
HRESULT WINAPI OleFlushClipboard();
|
|
HRESULT WINAPI SetConvertStg(LPSTORAGE pStg, BOOL fConvert);
|
|
BOOL WINAPI IsAccelerator(HACCEL hAccel, int cAccelEntries, LPMSG lpMsg, WORD* lpwCmd);
|
|
HRESULT WINAPI OleCreateLinkToFile(LPCOLESTR lpszFileName, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc,
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj);
|
|
HRESULT WINAPI OleDuplicateData(HANDLE hSrc, CLIPFORMAT cfFormat, UINT uiFlags);
|
|
HRESULT WINAPI WriteFmtUserTypeStg(LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType);
|
|
HRESULT WINAPI OleTranslateAccelerator (LPOLEINPLACEFRAME lpFrame, LPOLEINPLACEFRAMEINFO lpFrameInfo, LPMSG lpmsg);
|
|
HRESULT WINAPI OleCreateFromData(LPDATAOBJECT pSrcDataObj, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc,
|
|
LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID* ppvObj);
|
|
|
|
#endif /* __WINE_OLE2_H */
|
|
|