mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.1 KiB
48 lines
1.1 KiB
/*
|
|
* olepig.h - Module for indirect calling of OLE32.DLL functions description.
|
|
*/
|
|
|
|
|
|
/* Prototypes
|
|
*************/
|
|
|
|
/* olepig.c */
|
|
|
|
#ifdef FEATURE_OCX
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* OLE APIs */
|
|
|
|
typedef struct _olevtbl
|
|
{
|
|
DWORD (STDAPICALLTYPE *CoBuildVersion)(void);
|
|
HRESULT (STDAPICALLTYPE *OleInitialize)(PIMalloc);
|
|
void (STDAPICALLTYPE *OleUninitialize)(void);
|
|
|
|
HRESULT (STDAPICALLTYPE *CLSIDFromString)(LPOLESTR, LPCLSID);
|
|
HRESULT (STDAPICALLTYPE *CLSIDFromProgID)(LPOLESTR, LPCLSID);
|
|
|
|
HRESULT (STDAPICALLTYPE *CoCreateInstance)(REFCLSID, LPUNKNOWN, DWORD, REFIID, LPVOID*);
|
|
|
|
HRESULT (STDAPICALLTYPE *DoDragDrop)(PIDataObject, PIDropSource, DWORD, PDWORD);
|
|
HRESULT (STDAPICALLTYPE *OleSetClipboard)(PIDataObject);
|
|
HRESULT (STDAPICALLTYPE *OleFlushClipboard)(void);
|
|
}
|
|
OLEVTBL;
|
|
DECLARE_STANDARD_TYPES(OLEVTBL);
|
|
#endif // FEATURE_OCX
|
|
|
|
extern BOOL ProcessInitOLEPigModule(void);
|
|
extern void ProcessExitOLEPigModule(void);
|
|
|
|
#ifdef FEATURE_OCX
|
|
PRIVATE_CODE BOOL LoadOLE(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // FEATURE_OCX
|