Commit 2b552486 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

include: Add a definition for REGCLS_SURROGATE and add declarations for…

include: Add a definition for REGCLS_SURROGATE and add declarations for CoRegisterSurrogate and CoGetObjectContext.
parent 3f492390
...@@ -355,7 +355,8 @@ typedef enum tagREGCLS ...@@ -355,7 +355,8 @@ typedef enum tagREGCLS
REGCLS_SINGLEUSE = 0, REGCLS_SINGLEUSE = 0,
REGCLS_MULTIPLEUSE = 1, REGCLS_MULTIPLEUSE = 1,
REGCLS_MULTI_SEPARATE = 2, REGCLS_MULTI_SEPARATE = 2,
REGCLS_SUSPENDED = 4 REGCLS_SUSPENDED = 4,
REGCLS_SURROGATE = 8
} REGCLS; } REGCLS;
HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext, COSERVERINFO *pServerInfo, REFIID iid, LPVOID *ppv); HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext, COSERVERINFO *pServerInfo, REFIID iid, LPVOID *ppv);
...@@ -363,6 +364,7 @@ HRESULT WINAPI CoRegisterClassObject(REFCLSID rclsid,LPUNKNOWN pUnk,DWORD dwClsC ...@@ -363,6 +364,7 @@ HRESULT WINAPI CoRegisterClassObject(REFCLSID rclsid,LPUNKNOWN pUnk,DWORD dwClsC
HRESULT WINAPI CoRevokeClassObject(DWORD dwRegister); HRESULT WINAPI CoRevokeClassObject(DWORD dwRegister);
HRESULT WINAPI CoGetPSClsid(REFIID riid,CLSID *pclsid); HRESULT WINAPI CoGetPSClsid(REFIID riid,CLSID *pclsid);
HRESULT WINAPI CoRegisterPSClsid(REFIID riid, REFCLSID rclsid); HRESULT WINAPI CoRegisterPSClsid(REFIID riid, REFCLSID rclsid);
HRESULT WINAPI CoRegisterSurrogate(LPSURROGATE pSurrogate);
HRESULT WINAPI CoSuspendClassObjects(void); HRESULT WINAPI CoSuspendClassObjects(void);
HRESULT WINAPI CoResumeClassObjects(void); HRESULT WINAPI CoResumeClassObjects(void);
ULONG WINAPI CoAddRefServerProcess(void); ULONG WINAPI CoAddRefServerProcess(void);
...@@ -400,6 +402,7 @@ HRESULT WINAPI CoRevertToSelf(void); ...@@ -400,6 +402,7 @@ HRESULT WINAPI CoRevertToSelf(void);
HRESULT WINAPI CoGetTreatAsClass(REFCLSID clsidOld, LPCLSID pClsidNew); HRESULT WINAPI CoGetTreatAsClass(REFCLSID clsidOld, LPCLSID pClsidNew);
HRESULT WINAPI CoTreatAsClass(REFCLSID clsidOld, REFCLSID clsidNew); HRESULT WINAPI CoTreatAsClass(REFCLSID clsidOld, REFCLSID clsidNew);
HRESULT WINAPI CoAllowSetForegroundWindow(IUnknown *pUnk, LPVOID lpvReserved); HRESULT WINAPI CoAllowSetForegroundWindow(IUnknown *pUnk, LPVOID lpvReserved);
HRESULT WINAPI CoGetObjectContext(REFIID riid, LPVOID *ppv);
HRESULT WINAPI CoCreateGuid(GUID* pguid); HRESULT WINAPI CoCreateGuid(GUID* pguid);
BOOL WINAPI CoIsOle1Class(REFCLSID rclsid); BOOL WINAPI CoIsOle1Class(REFCLSID rclsid);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment