Moved COM API prototypes to objbase.h, from wine/obj_*.h.
This commit is contained in:
parent
dcb9240a92
commit
99c8526324
|
@ -50,24 +50,7 @@ extern "C" {
|
|||
/*****************************************************************************
|
||||
* Standard API
|
||||
*/
|
||||
HRESULT WINAPI CoCreateGuid(GUID* pguid);
|
||||
|
||||
HINSTANCE WINAPI CoLoadLibrary(LPOLESTR lpszLibName, BOOL bAutoFree);
|
||||
|
||||
void WINAPI CoFreeAllLibraries(void);
|
||||
|
||||
void WINAPI CoFreeLibrary(HINSTANCE hLibrary);
|
||||
|
||||
void WINAPI CoFreeUnusedLibraries(void);
|
||||
|
||||
HRESULT WINAPI CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv);
|
||||
|
||||
HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext, COSERVERINFO *pServerInfo, REFIID iid, LPVOID *ppv);
|
||||
|
||||
HRESULT WINAPI CoInitialize(LPVOID lpReserved);
|
||||
HRESULT WINAPI CoInitializeEx(LPVOID lpReserved, DWORD dwCoInit);
|
||||
|
||||
void WINAPI CoUninitialize(void);
|
||||
DWORD WINAPI CoBuildVersion(void);
|
||||
|
||||
typedef enum tagCOINIT
|
||||
{
|
||||
|
@ -77,11 +60,34 @@ typedef enum tagCOINIT
|
|||
COINIT_SPEED_OVER_MEMORY = 0x8 /* Trade memory for speed */
|
||||
} COINIT;
|
||||
|
||||
HRESULT WINAPI CoInitialize(LPVOID lpReserved);
|
||||
HRESULT WINAPI CoInitializeEx(LPVOID lpReserved, DWORD dwCoInit);
|
||||
void WINAPI CoUninitialize(void);
|
||||
DWORD WINAPI CoGetCurrentProcess(void);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
BOOL WINAPI CoIsOle1Class(REFCLSID rclsid);
|
||||
HINSTANCE WINAPI CoLoadLibrary(LPOLESTR lpszLibName, BOOL bAutoFree);
|
||||
void WINAPI CoFreeAllLibraries(void);
|
||||
void WINAPI CoFreeLibrary(HINSTANCE hLibrary);
|
||||
void WINAPI CoFreeUnusedLibraries(void);
|
||||
|
||||
HRESULT WINAPI CoLockObjectExternal(LPUNKNOWN pUnk, BOOL fLock, BOOL fLastUnlockReleases);
|
||||
HRESULT WINAPI CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv);
|
||||
HRESULT WINAPI CoCreateInstanceEx(REFCLSID rclsid,
|
||||
LPUNKNOWN pUnkOuter,
|
||||
DWORD dwClsContext,
|
||||
COSERVERINFO* pServerInfo,
|
||||
ULONG cmq,
|
||||
MULTI_QI* pResults);
|
||||
|
||||
HRESULT WINAPI CoGetInstanceFromFile(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, DWORD grfMode, OLECHAR* pwszName, DWORD dwCount, MULTI_QI* pResults);
|
||||
HRESULT WINAPI CoGetInstanceFromIStorage(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, IStorage* pstg, DWORD dwCount, MULTI_QI* pResults);
|
||||
|
||||
HRESULT WINAPI CoGetMalloc(DWORD dwMemContext, LPMALLOC* lpMalloc);
|
||||
LPVOID WINAPI CoTaskMemAlloc(ULONG size);
|
||||
void WINAPI CoTaskMemFree(LPVOID ptr);
|
||||
LPVOID WINAPI CoTaskMemRealloc(LPVOID ptr, ULONG size);
|
||||
|
||||
HRESULT WINAPI CoRegisterMallocSpy(LPMALLOCSPY pMallocSpy);
|
||||
HRESULT WINAPI CoRevokeMallocSpy(void);
|
||||
|
||||
/* class registration flags; passed to CoRegisterClassObject */
|
||||
typedef enum tagREGCLS
|
||||
|
@ -92,14 +98,56 @@ typedef enum tagREGCLS
|
|||
REGCLS_SUSPENDED = 4
|
||||
} REGCLS;
|
||||
|
||||
HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext, COSERVERINFO *pServerInfo, REFIID iid, LPVOID *ppv);
|
||||
HRESULT WINAPI CoRegisterClassObject(REFCLSID rclsid,LPUNKNOWN pUnk,DWORD dwClsContext,DWORD flags,LPDWORD lpdwRegister);
|
||||
|
||||
HRESULT WINAPI CoRevokeClassObject(DWORD dwRegister);
|
||||
|
||||
HRESULT WINAPI CoGetPSClsid(REFIID riid,CLSID *pclsid);
|
||||
HRESULT WINAPI CoRegisterPSClsid(REFIID riid, REFCLSID rclsid);
|
||||
HRESULT WINAPI CoSuspendClassObjects(void);
|
||||
HRESULT WINAPI CoResumeClassObjects(void);
|
||||
ULONG WINAPI CoAddRefServerProcess(void);
|
||||
HRESULT WINAPI CoReleaseServerProcess(void);
|
||||
|
||||
/* marshalling */
|
||||
HRESULT WINAPI CoCreateFreeThreadedMarshaler(LPUNKNOWN punkOuter, LPUNKNOWN* ppunkMarshal);
|
||||
HRESULT WINAPI CoGetInterfaceAndReleaseStream(LPSTREAM pStm, REFIID iid, LPVOID* ppv);
|
||||
HRESULT WINAPI CoGetMarshalSizeMax(ULONG* pulSize, REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags);
|
||||
HRESULT WINAPI CoGetStandardMarshal(REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags, LPMARSHAL* ppMarshal);
|
||||
HRESULT WINAPI CoMarshalHresult(LPSTREAM pstm, HRESULT hresult);
|
||||
HRESULT WINAPI CoMarshalInterface(LPSTREAM pStm, REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags);
|
||||
HRESULT WINAPI CoMarshalInterThreadInterfaceInStream(REFIID riid, LPUNKNOWN pUnk, LPSTREAM* ppStm);
|
||||
HRESULT WINAPI CoReleaseMarshalData(LPSTREAM pStm);
|
||||
HRESULT WINAPI CoUnmarshalHresult(LPSTREAM pstm, HRESULT* phresult);
|
||||
HRESULT WINAPI CoUnmarshalInterface(LPSTREAM pStm, REFIID riid, LPVOID* ppv);
|
||||
HRESULT WINAPI CoLockObjectExternal(LPUNKNOWN pUnk, BOOL fLock, BOOL fLastUnlockReleases);
|
||||
BOOL WINAPI CoIsHandlerConnected(LPUNKNOWN pUnk);
|
||||
|
||||
/* security */
|
||||
HRESULT WINAPI CoInitializeSecurity(PSECURITY_DESCRIPTOR pSecDesc, LONG cAuthSvc, SOLE_AUTHENTICATION_SERVICE* asAuthSvc, void* pReserved1, DWORD dwAuthnLevel, DWORD dwImpLevel, void* pReserved2, DWORD dwCapabilities, void* pReserved3);
|
||||
HRESULT WINAPI CoGetCallContext(REFIID riid, void** ppInterface);
|
||||
HRESULT WINAPI CoQueryAuthenticationServices(DWORD* pcAuthSvc, SOLE_AUTHENTICATION_SERVICE** asAuthSvc);
|
||||
|
||||
HRESULT WINAPI CoQueryProxyBlanket(IUnknown* pProxy, DWORD* pwAuthnSvc, DWORD* pAuthzSvc, OLECHAR** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTH_IDENTITY_HANDLE* pAuthInfo, DWORD* pCapabilites);
|
||||
HRESULT WINAPI CoSetProxyBlanket(IUnknown* pProxy, DWORD dwAuthnSvc, DWORD dwAuthzSvc, OLECHAR* pServerPrincName, DWORD dwAuthnLevel, DWORD dwImpLevel, RPC_AUTH_IDENTITY_HANDLE pAuthInfo, DWORD dwCapabilities);
|
||||
HRESULT WINAPI CoCopyProxy(IUnknown* pProxy, IUnknown** ppCopy);
|
||||
|
||||
HRESULT WINAPI CoImpersonateClient(void);
|
||||
HRESULT WINAPI CoQueryClientBlanket(DWORD* pAuthnSvc, DWORD* pAuthzSvc, OLECHAR16** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTHZ_HANDLE* pPrivs, DWORD* pCapabilities);
|
||||
HRESULT WINAPI CoRevertToSelf(void);
|
||||
|
||||
/* misc */
|
||||
HRESULT WINAPI CoGetTreatAsClass(REFCLSID clsidOld, LPCLSID pClsidNew);
|
||||
HRESULT WINAPI CoTreatAsClass(REFCLSID clsidOld, REFCLSID clsidNew);
|
||||
|
||||
HRESULT WINAPI CoCreateGuid(GUID* pguid);
|
||||
BOOL WINAPI CoIsOle1Class(REFCLSID rclsid);
|
||||
|
||||
BOOL WINAPI CoDosDateTimeToFileTime(WORD nDosDate, WORD nDosTime, FILETIME* lpFileTime);
|
||||
BOOL WINAPI CoFileTimeToDosDateTime(FILETIME* lpFileTime, WORD* lpDosDate, WORD* lpDosTime);
|
||||
HRESULT WINAPI CoFileTimeNow(FILETIME* lpFileTime);
|
||||
|
||||
/*****************************************************************************
|
||||
* GUID API
|
||||
* GUID API
|
||||
*/
|
||||
HRESULT WINAPI StringFromCLSID16(REFCLSID id, LPOLESTR16*);
|
||||
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR*);
|
||||
|
@ -120,11 +168,78 @@ INT WINAPI StringFromGUID2(REFGUID id, LPOLESTR str, INT cmax);
|
|||
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID * ppv);
|
||||
HRESULT WINAPI DllCanUnloadNow(void);
|
||||
|
||||
/*****************************************************************************
|
||||
* Data Object
|
||||
*/
|
||||
HRESULT WINAPI CreateDataAdviseHolder(LPDATAADVISEHOLDER* ppDAHolder);
|
||||
HRESULT WINAPI CreateDataCache(LPUNKNOWN pUnkOuter, REFCLSID rclsid, REFIID iid, LPVOID* ppv);
|
||||
|
||||
/*****************************************************************************
|
||||
* Moniker API
|
||||
*/
|
||||
HRESULT WINAPI GetClassFile(LPCOLESTR filePathName,CLSID *pclsid);
|
||||
|
||||
HRESULT WINAPI CreateBindCtx16(DWORD reserved, LPBC* ppbc);
|
||||
HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC* ppbc);
|
||||
|
||||
HRESULT WINAPI CreateFileMoniker16(LPCOLESTR16 lpszPathName, LPMONIKER* ppmk);
|
||||
HRESULT WINAPI CreateFileMoniker(LPCOLESTR lpszPathName, LPMONIKER* ppmk);
|
||||
|
||||
HRESULT WINAPI CreateItemMoniker16(LPCOLESTR16 lpszDelim, LPCOLESTR lpszItem, LPMONIKER* ppmk);
|
||||
HRESULT WINAPI CreateItemMoniker(LPCOLESTR lpszDelim, LPCOLESTR lpszItem, LPMONIKER* ppmk);
|
||||
|
||||
HRESULT WINAPI CreateAntiMoniker(LPMONIKER * ppmk);
|
||||
|
||||
HRESULT WINAPI CreateGenericComposite(LPMONIKER pmkFirst, LPMONIKER pmkRest, LPMONIKER* ppmkComposite);
|
||||
|
||||
HRESULT WINAPI BindMoniker(LPMONIKER pmk, DWORD grfOpt, REFIID iidResult, LPVOID* ppvResult);
|
||||
|
||||
HRESULT WINAPI CreateClassMoniker(REFCLSID rclsid, LPMONIKER* ppmk);
|
||||
|
||||
HRESULT WINAPI CreatePointerMoniker(LPUNKNOWN punk, LPMONIKER* ppmk);
|
||||
|
||||
HRESULT WINAPI MonikerCommonPrefixWith(IMoniker* pmkThis,IMoniker* pmkOther,IMoniker** ppmkCommon);
|
||||
|
||||
HRESULT WINAPI GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot);
|
||||
HRESULT WINAPI GetRunningObjectTable16(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot);
|
||||
|
||||
/*****************************************************************************
|
||||
* Storage API
|
||||
*/
|
||||
#define STGM_DIRECT 0x00000000
|
||||
#define STGM_TRANSACTED 0x00010000
|
||||
#define STGM_SIMPLE 0x08000000
|
||||
#define STGM_READ 0x00000000
|
||||
#define STGM_WRITE 0x00000001
|
||||
#define STGM_READWRITE 0x00000002
|
||||
#define STGM_SHARE_DENY_NONE 0x00000040
|
||||
#define STGM_SHARE_DENY_READ 0x00000030
|
||||
#define STGM_SHARE_DENY_WRITE 0x00000020
|
||||
#define STGM_SHARE_EXCLUSIVE 0x00000010
|
||||
#define STGM_PRIORITY 0x00040000
|
||||
#define STGM_DELETEONRELEASE 0x04000000
|
||||
#define STGM_CREATE 0x00001000
|
||||
#define STGM_CONVERT 0x00020000
|
||||
#define STGM_FAILIFTHERE 0x00000000
|
||||
#define STGM_NOSCRATCH 0x00100000
|
||||
#define STGM_NOSNAPSHOT 0x00200000
|
||||
|
||||
HRESULT WINAPI StgCreateDocFile16(LPCOLESTR16 pwcsName,DWORD grfMode,DWORD reserved,IStorage16 **ppstgOpen);
|
||||
HRESULT WINAPI StgCreateDocfile(LPCOLESTR pwcsName,DWORD grfMode,DWORD reserved,IStorage **ppstgOpen);
|
||||
|
||||
HRESULT WINAPI StgIsStorageFile16(LPCOLESTR16 fn);
|
||||
HRESULT WINAPI StgIsStorageFile(LPCOLESTR fn);
|
||||
HRESULT WINAPI StgIsStorageILockBytes(ILockBytes *plkbyt);
|
||||
|
||||
HRESULT WINAPI StgOpenStorage16(const OLECHAR16* pwcsName,IStorage16* pstgPriority,DWORD grfMode,SNB16 snbExclude,DWORD reserved,IStorage16**ppstgOpen);
|
||||
HRESULT WINAPI StgOpenStorage(const OLECHAR* pwcsName,IStorage* pstgPriority,DWORD grfMode,SNB snbExclude,DWORD reserved,IStorage**ppstgOpen);
|
||||
|
||||
HRESULT WINAPI WriteClassStg(IStorage* pStg, REFCLSID rclsid);
|
||||
HRESULT WINAPI ReadClassStg(IStorage *pstg,CLSID *pclsid);
|
||||
|
||||
HRESULT WINAPI StgCreateDocfileOnILockBytes(ILockBytes *plkbyt,DWORD grfMode, DWORD reserved, IStorage** ppstgOpen);
|
||||
HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -203,68 +203,6 @@ ICOM_DEFINE(IServerSecurity,IUnknown)
|
|||
#define IServerSecurity_IsImpersonating(p) ICOM_CALL (IsImpersonating,p)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Additional client API
|
||||
*/
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoCopyProxy(IUnknown* pProxy, IUnknown** ppCopy);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoQueryProxyBlanket(IUnknown* pProxy, DWORD* pwAuthnSvc, DWORD* pAuthzSvc, OLECHAR** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTH_IDENTITY_HANDLE* pAuthInfo, DWORD* pCapabilites);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoSetProxyBlanket(IUnknown* pProxy, DWORD dwAuthnSvc, DWORD dwAuthzSvc, OLECHAR* pServerPrincName, DWORD dwAuthnLevel, DWORD dwImpLevel, RPC_AUTH_IDENTITY_HANDLE pAuthInfo, DWORD dwCapabilities);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Additional server API
|
||||
*/
|
||||
|
||||
/* FIXME: not implemented */
|
||||
ULONG WINAPI CoAddRefServerProcess(void);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoImpersonateClient(void);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoQueryClientBlanket(DWORD* pAuthnSvc, DWORD* pAuthzSvc, OLECHAR16** pServerPrincName, DWORD* pAuthnLevel, DWORD* pImpLevel, RPC_AUTHZ_HANDLE* pPrivs, DWORD* pCapabilities);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoReleaseServerProcess(void);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoRevertToSelf(void);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoSuspendClassObjects(void);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Additional API
|
||||
*/
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoGetCallContext(REFIID riid, void** ppInterface);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoGetPSClsid(REFIID riid, CLSID* pClsid);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoInitializeSecurity(PSECURITY_DESCRIPTOR pSecDesc, LONG cAuthSvc, SOLE_AUTHENTICATION_SERVICE* asAuthSvc, void* pReserved1, DWORD dwAuthnLevel, DWORD dwImpLevel, void* pReserved2, DWORD dwCapabilities, void* pReserved3);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
BOOL WINAPI CoIsHandlerConnected(LPUNKNOWN pUnk);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoQueryAuthenticationServices(DWORD* pcAuthSvc, SOLE_AUTHENTICATION_SERVICE** asAuthSvc);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoRegisterPSClsid(REFIID riid, REFCLSID rclsid);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoResumeClassObjects(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
|
|
@ -232,9 +232,6 @@ ICOM_DEFINE(IDataAdviseHolder,IUnknown)
|
|||
#define IDataAdviseHolder_EnumAdvise(p,a) ICOM_CALL1(EnumAdvise,p,a)
|
||||
#define IDataAdviseHolder_SendOnDataChange(p,a,b,c) ICOM_CALL3(SendOnDataChange,p,a,b,c)
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CreateDataAdviseHolder(LPDATAADVISEHOLDER* ppDAHolder);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IDataObject interface
|
||||
|
@ -324,13 +321,6 @@ ICOM_DEFINE(IEnumSTATDATA,IUnknown)
|
|||
#define IEnumSTATDATA_Clone(p,a) ICOM_CALL1(Clone,p,a)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Additional API
|
||||
*/
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CreateDataCache(LPUNKNOWN pUnkOuter, REFCLSID rclsid, REFIID iid, LPVOID* ppv);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
|
|
@ -88,40 +88,6 @@ ICOM_DEFINE(IStdMarshalInfo,IUnknown)
|
|||
#define IStdMarshalInfo_GetClassForHandler(p,a,b,c) ICOM_CALL3(GetClassForHandler,p,a,b,c)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Additional marshalling API
|
||||
*/
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoCreateFreeThreadedMarshaler(LPUNKNOWN punkOuter, LPUNKNOWN* ppunkMarshal);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoGetInterfaceAndReleaseStream(LPSTREAM pStm, REFIID iid, LPVOID* ppv);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoGetMarshalSizeMax(ULONG* pulSize, REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoGetStandardMarshal(REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags, LPMARSHAL* ppMarshal);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoMarshalHresult(LPSTREAM pstm, HRESULT hresult);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoMarshalInterface(LPSTREAM pStm, REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoMarshalInterThreadInterfaceInStream(REFIID riid, LPUNKNOWN pUnk, LPSTREAM* ppStm);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoReleaseMarshalData(LPSTREAM pStm);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoUnmarshalHresult(LPSTREAM pstm, HRESULT* phresult);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoUnmarshalInterface(LPSTREAM pStm, REFIID riid, LPVOID* ppv);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
|
|
@ -140,15 +140,6 @@ ICOM_DEFINE(IMalloc,IUnknown)
|
|||
#define MEMCTX_UNKNOWN -1
|
||||
#define MEMCTX_SAME -2
|
||||
|
||||
HRESULT WINAPI CoGetMalloc(DWORD dwMemContext,LPMALLOC* lpMalloc);
|
||||
|
||||
LPVOID WINAPI CoTaskMemAlloc(ULONG size);
|
||||
|
||||
void WINAPI CoTaskMemFree(LPVOID ptr);
|
||||
|
||||
/* FIXME: unimplemented */
|
||||
LPVOID WINAPI CoTaskMemRealloc(LPVOID ptr, ULONG size);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IMallocSpy interface
|
||||
|
@ -191,8 +182,6 @@ ICOM_DEFINE(IMallocSpy,IUnknown)
|
|||
#define IMallocSpy_PreHeapMinimize(p) ICOM_CALL (PreHeapMinimize,p)
|
||||
#define IMallocSpy_PostHeapMinimize(p) ICOM_CALL (PostHeapMinimize,p)
|
||||
|
||||
HRESULT WINAPI CoFileTimeNow(FILETIME* lpFileTime);
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IMultiQI interface
|
||||
|
@ -221,26 +210,6 @@ ICOM_DEFINE(IMultiQI,IUnknown)
|
|||
#define IMultiQI_QueryMultipleInterfaces(p,a,b) ICOM_CALL2(QueryMultipleInterfaces,p,a,b)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* Additional API
|
||||
*/
|
||||
|
||||
DWORD WINAPI CoBuildVersion(void);
|
||||
|
||||
DWORD WINAPI CoGetCurrentProcess(void);
|
||||
|
||||
/* FIXME: unimplemented */
|
||||
HRESULT WINAPI CoGetTreatAsClass(REFCLSID clsidOld, LPCLSID pClsidNew);
|
||||
|
||||
/* FIXME: unimplemented */
|
||||
HRESULT WINAPI CoTreatAsClass(REFCLSID clsidOld, REFCLSID clsidNew);
|
||||
|
||||
HRESULT WINAPI CoCreateInstanceEx(REFCLSID rclsid,
|
||||
LPUNKNOWN pUnkOuter,
|
||||
DWORD dwClsContext,
|
||||
COSERVERINFO* pServerInfo,
|
||||
ULONG cmq,
|
||||
MULTI_QI* pResults);
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
|
|
@ -119,8 +119,6 @@ ICOM_DEFINE(IBindCtx,IUnknown)
|
|||
#define IBindCtx_EnumObjectParam(p,a) ICOM_CALL1(EnumObjectParam,p,a)
|
||||
#define IBindCtx_RevokeObjectParam(p,a) ICOM_CALL1(RevokeObjectParam,p,a)
|
||||
|
||||
HRESULT WINAPI CreateBindCtx16(DWORD reserved, LPBC* ppbc);
|
||||
HRESULT WINAPI CreateBindCtx(DWORD reserved, LPBC* ppbc);
|
||||
|
||||
/*****************************************************************************
|
||||
* IClassActivator interface
|
||||
|
@ -242,27 +240,7 @@ ICOM_DEFINE(IMoniker,IPersistStream)
|
|||
#define IMoniker_ParseDisplayName(p,a,b,c,d,e) ICOM_CALL5(ParseDisplayName,p,a,b,c,d,e)
|
||||
#define IMoniker_IsSystemMoniker(p,a) ICOM_CALL1(IsSystemMoniker,p,a)
|
||||
|
||||
HRESULT WINAPI CreateFileMoniker16(LPCOLESTR16 lpszPathName, LPMONIKER* ppmk);
|
||||
HRESULT WINAPI CreateFileMoniker(LPCOLESTR lpszPathName, LPMONIKER* ppmk);
|
||||
|
||||
HRESULT WINAPI CreateItemMoniker16(LPCOLESTR16 lpszDelim, LPCOLESTR lpszItem, LPMONIKER* ppmk);
|
||||
HRESULT WINAPI CreateItemMoniker(LPCOLESTR lpszDelim, LPCOLESTR lpszItem, LPMONIKER* ppmk);
|
||||
|
||||
HRESULT WINAPI CreateAntiMoniker(LPMONIKER * ppmk);
|
||||
|
||||
HRESULT WINAPI CreateGenericComposite(LPMONIKER pmkFirst, LPMONIKER pmkRest, LPMONIKER* ppmkComposite);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI BindMoniker(LPMONIKER pmk, DWORD grfOpt, REFIID iidResult, LPVOID* ppvResult);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CreateClassMoniker(REFCLSID rclsid, LPMONIKER* ppmk);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CreatePointerMoniker(LPUNKNOWN punk, LPMONIKER* ppmk);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI MonikerCommonPrefixWith(IMoniker* pmkThis,IMoniker* pmkOther,IMoniker** ppmkCommon);
|
||||
/*****************************************************************************
|
||||
* IROTData interface
|
||||
*/
|
||||
|
@ -347,18 +325,6 @@ ICOM_DEFINE(IRunningObjectTable,IUnknown)
|
|||
#define IRunningObjectTable_GetTimeOfLastChange(p,a,b) ICOM_CALL2(GetTimeOfLastChange,p,a,b)
|
||||
#define IRunningObjectTable_EnumRunning(p,a) ICOM_CALL1(EnumRunning,p,a)
|
||||
|
||||
HRESULT WINAPI GetRunningObjectTable(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot);
|
||||
HRESULT WINAPI GetRunningObjectTable16(DWORD reserved, LPRUNNINGOBJECTTABLE *pprot);
|
||||
|
||||
/*****************************************************************************
|
||||
* Additional API
|
||||
*/
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoGetInstanceFromFile(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, DWORD grfMode, OLECHAR* pwszName, DWORD dwCount, MULTI_QI* pResults);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
HRESULT WINAPI CoGetInstanceFromIStorage(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, IStorage* pstg, DWORD dwCount, MULTI_QI* pResults);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
|
|
|
@ -121,29 +121,6 @@ typedef struct IStream16 IStream16,*LPSTREAM16;
|
|||
typedef struct IStream IStream,*LPSTREAM;
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* STGM enumeration
|
||||
*
|
||||
* See IStorage and IStream
|
||||
*/
|
||||
#define STGM_DIRECT 0x00000000
|
||||
#define STGM_TRANSACTED 0x00010000
|
||||
#define STGM_SIMPLE 0x08000000
|
||||
#define STGM_READ 0x00000000
|
||||
#define STGM_WRITE 0x00000001
|
||||
#define STGM_READWRITE 0x00000002
|
||||
#define STGM_SHARE_DENY_NONE 0x00000040
|
||||
#define STGM_SHARE_DENY_READ 0x00000030
|
||||
#define STGM_SHARE_DENY_WRITE 0x00000020
|
||||
#define STGM_SHARE_EXCLUSIVE 0x00000010
|
||||
#define STGM_PRIORITY 0x00040000
|
||||
#define STGM_DELETEONRELEASE 0x04000000
|
||||
#define STGM_CREATE 0x00001000
|
||||
#define STGM_CONVERT 0x00020000
|
||||
#define STGM_FAILIFTHERE 0x00000000
|
||||
#define STGM_NOSCRATCH 0x00100000
|
||||
#define STGM_NOSNAPSHOT 0x00200000
|
||||
|
||||
/*****************************************************************************
|
||||
* STGTY enumeration
|
||||
*
|
||||
|
@ -623,36 +600,6 @@ ICOM_DEFINE(IStream,ISequentialStream)
|
|||
#define IStream_Clone(p,a) ICOM_CALL1(Clone,p,a)
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* StgXXX API
|
||||
*/
|
||||
/* FIXME: many functions are missing */
|
||||
HRESULT WINAPI StgCreateDocFile16(LPCOLESTR16 pwcsName,DWORD grfMode,DWORD reserved,IStorage16 **ppstgOpen);
|
||||
HRESULT WINAPI StgCreateDocfile(LPCOLESTR pwcsName,DWORD grfMode,DWORD reserved,IStorage **ppstgOpen);
|
||||
|
||||
HRESULT WINAPI StgIsStorageFile16(LPCOLESTR16 fn);
|
||||
HRESULT WINAPI StgIsStorageFile(LPCOLESTR fn);
|
||||
HRESULT WINAPI StgIsStorageILockBytes(ILockBytes *plkbyt);
|
||||
|
||||
HRESULT WINAPI StgOpenStorage16(const OLECHAR16* pwcsName,IStorage16* pstgPriority,DWORD grfMode,SNB16 snbExclude,DWORD reserved,IStorage16**ppstgOpen);
|
||||
HRESULT WINAPI StgOpenStorage(const OLECHAR* pwcsName,IStorage* pstgPriority,DWORD grfMode,SNB snbExclude,DWORD reserved,IStorage**ppstgOpen);
|
||||
|
||||
HRESULT WINAPI WriteClassStg(IStorage* pStg, REFCLSID rclsid);
|
||||
HRESULT WINAPI ReadClassStg(IStorage *pstg,CLSID *pclsid);
|
||||
|
||||
HRESULT WINAPI StgCreateDocfileOnILockBytes(ILockBytes *plkbyt,DWORD grfMode, DWORD reserved, IStorage** ppstgOpen);
|
||||
HRESULT WINAPI StgOpenStorageOnILockBytes(ILockBytes *plkbyt, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen);
|
||||
|
||||
/*****************************************************************************
|
||||
* Other storage API
|
||||
*/
|
||||
|
||||
/* FIXME: not implemented */
|
||||
BOOL WINAPI CoDosDateTimeToFileTime(WORD nDosDate, WORD nDosTime, FILETIME* lpFileTime);
|
||||
|
||||
/* FIXME: not implemented */
|
||||
BOOL WINAPI CoFileTimeToDosDateTime(FILETIME* lpFileTime, WORD* lpDosDate, WORD* lpDosTime);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
|
Loading…
Reference in New Issue