Commit 02301d8f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

combase: Move currently unimplemented COM API functions.

parent faef3847
...@@ -2596,6 +2596,16 @@ static void unlock_init_spies(struct tlsdata *tlsdata) ...@@ -2596,6 +2596,16 @@ static void unlock_init_spies(struct tlsdata *tlsdata)
} }
/****************************************************************************** /******************************************************************************
* CoInitializeWOW (combase.@)
*/
HRESULT WINAPI CoInitializeWOW(DWORD arg1, DWORD arg2)
{
FIXME("%#x, %#x\n", arg1, arg2);
return S_OK;
}
/******************************************************************************
* CoInitializeEx (combase.@) * CoInitializeEx (combase.@)
*/ */
HRESULT WINAPI DECLSPEC_HOTPATCH CoInitializeEx(void *reserved, DWORD model) HRESULT WINAPI DECLSPEC_HOTPATCH CoInitializeEx(void *reserved, DWORD model)
...@@ -3063,6 +3073,85 @@ HRESULT WINAPI CoRegisterChannelHook(REFGUID guidExtension, IChannelHook *channe ...@@ -3063,6 +3073,85 @@ HRESULT WINAPI CoRegisterChannelHook(REFGUID guidExtension, IChannelHook *channe
} }
/*********************************************************************** /***********************************************************************
* CoDisableCallCancellation (combase.@)
*/
HRESULT WINAPI CoDisableCallCancellation(void *reserved)
{
FIXME("%p stub\n", reserved);
return E_NOTIMPL;
}
/***********************************************************************
* CoEnableCallCancellation (combase.@)
*/
HRESULT WINAPI CoEnableCallCancellation(void *reserved)
{
FIXME("%p stub\n", reserved);
return E_NOTIMPL;
}
/***********************************************************************
* CoGetCallerTID (combase.@)
*/
HRESULT WINAPI CoGetCallerTID(DWORD *tid)
{
FIXME("stub!\n");
return E_NOTIMPL;
}
/***********************************************************************
* CoIsHandlerConnected (combase.@)
*/
BOOL WINAPI CoIsHandlerConnected(IUnknown *object)
{
FIXME("%p\n", object);
return TRUE;
}
/***********************************************************************
* CoSuspendClassObjects (combase.@)
*/
HRESULT WINAPI CoSuspendClassObjects(void)
{
FIXME("\n");
return S_OK;
}
/***********************************************************************
* CoResumeClassObjects (combase.@)
*/
HRESULT WINAPI CoResumeClassObjects(void)
{
FIXME("stub\n");
return S_OK;
}
/***********************************************************************
* CoRegisterSurrogate (combase.@)
*/
HRESULT WINAPI CoRegisterSurrogate(ISurrogate *surrogate)
{
FIXME("%p stub\n", surrogate);
return E_NOTIMPL;
}
/***********************************************************************
* CoRegisterSurrogateEx (combase.@)
*/
HRESULT WINAPI CoRegisterSurrogateEx(REFGUID guid, void *reserved)
{
FIXME("%s, %p stub\n", debugstr_guid(guid), reserved);
return E_NOTIMPL;
}
/***********************************************************************
* DllMain (combase.@) * DllMain (combase.@)
*/ */
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, LPVOID reserved) BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, LPVOID reserved)
......
...@@ -87,10 +87,10 @@ ...@@ -87,10 +87,10 @@
@ stub CoDeactivateObject @ stub CoDeactivateObject
@ stub CoDecodeProxy @ stub CoDecodeProxy
@ stdcall CoDecrementMTAUsage(ptr) @ stdcall CoDecrementMTAUsage(ptr)
@ stdcall CoDisableCallCancellation(ptr) ole32.CoDisableCallCancellation @ stdcall CoDisableCallCancellation(ptr)
@ stub CoDisconnectContext @ stub CoDisconnectContext
@ stdcall CoDisconnectObject(ptr long) @ stdcall CoDisconnectObject(ptr long)
@ stdcall CoEnableCallCancellation(ptr) ole32.CoEnableCallCancellation @ stdcall CoEnableCallCancellation(ptr)
@ stdcall CoFileTimeNow(ptr) @ stdcall CoFileTimeNow(ptr)
@ stdcall CoFreeUnusedLibraries() @ stdcall CoFreeUnusedLibraries()
@ stdcall CoFreeUnusedLibrariesEx(long long) @ stdcall CoFreeUnusedLibrariesEx(long long)
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
@ stdcall CoGetApartmentType(ptr ptr) @ stdcall CoGetApartmentType(ptr ptr)
@ stdcall CoGetCallContext(ptr ptr) @ stdcall CoGetCallContext(ptr ptr)
@ stdcall CoGetCallState(long ptr) @ stdcall CoGetCallState(long ptr)
@ stdcall CoGetCallerTID(ptr) ole32.CoGetCallerTID @ stdcall CoGetCallerTID(ptr)
@ stub CoGetCancelObject @ stub CoGetCancelObject
@ stdcall CoGetClassObject(ptr long ptr ptr ptr) @ stdcall CoGetClassObject(ptr long ptr ptr ptr)
@ stub CoGetClassVersion @ stub CoGetClassVersion
...@@ -125,9 +125,9 @@ ...@@ -125,9 +125,9 @@
@ stdcall CoIncrementMTAUsage(ptr) @ stdcall CoIncrementMTAUsage(ptr)
@ stdcall CoInitializeEx(ptr long) @ stdcall CoInitializeEx(ptr long)
@ stdcall CoInitializeSecurity(ptr long ptr ptr long long ptr long ptr) @ stdcall CoInitializeSecurity(ptr long ptr ptr long long ptr long ptr)
@ stdcall CoInitializeWOW(long long) ole32.CoInitializeWOW @ stdcall CoInitializeWOW(long long)
@ stub CoInvalidateRemoteMachineBindings @ stub CoInvalidateRemoteMachineBindings
@ stdcall CoIsHandlerConnected(ptr) ole32.CoIsHandlerConnected @ stdcall CoIsHandlerConnected(ptr)
@ stdcall CoLockObjectExternal(ptr long long) @ stdcall CoLockObjectExternal(ptr long long)
@ stdcall CoMarshalHresult(ptr long) @ stdcall CoMarshalHresult(ptr long)
@ stdcall CoMarshalInterThreadInterfaceInStream(ptr ptr ptr) @ stdcall CoMarshalInterThreadInterfaceInStream(ptr ptr ptr)
...@@ -145,11 +145,11 @@ ...@@ -145,11 +145,11 @@
@ stdcall CoRegisterMallocSpy(ptr) @ stdcall CoRegisterMallocSpy(ptr)
@ stdcall CoRegisterMessageFilter(ptr ptr) @ stdcall CoRegisterMessageFilter(ptr ptr)
@ stdcall CoRegisterPSClsid(ptr ptr) @ stdcall CoRegisterPSClsid(ptr ptr)
@ stdcall CoRegisterSurrogate(ptr) ole32.CoRegisterSurrogate @ stdcall CoRegisterSurrogate(ptr)
@ stdcall CoRegisterSurrogateEx(ptr ptr) ole32.CoRegisterSurrogateEx @ stdcall CoRegisterSurrogateEx(ptr ptr)
@ stdcall CoReleaseMarshalData(ptr) @ stdcall CoReleaseMarshalData(ptr)
@ stdcall CoReleaseServerProcess() @ stdcall CoReleaseServerProcess()
@ stdcall CoResumeClassObjects() ole32.CoResumeClassObjects @ stdcall CoResumeClassObjects()
@ stub CoRetireServer @ stub CoRetireServer
@ stdcall CoRevertToSelf() @ stdcall CoRevertToSelf()
@ stdcall CoRevokeClassObject(long) @ stdcall CoRevokeClassObject(long)
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
@ stub CoSetCancelObject @ stub CoSetCancelObject
@ stdcall CoSetErrorInfo(long ptr) SetErrorInfo @ stdcall CoSetErrorInfo(long ptr) SetErrorInfo
@ stdcall CoSetProxyBlanket(ptr long long ptr long long ptr long) @ stdcall CoSetProxyBlanket(ptr long long ptr long long ptr long)
@ stdcall CoSuspendClassObjects() ole32.CoSuspendClassObjects @ stdcall CoSuspendClassObjects()
@ stdcall CoSwitchCallContext(ptr ptr) @ stdcall CoSwitchCallContext(ptr ptr)
@ stdcall CoTaskMemAlloc(long) @ stdcall CoTaskMemAlloc(long)
@ stdcall CoTaskMemFree(ptr) @ stdcall CoTaskMemFree(ptr)
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
@ stdcall CreateErrorInfo(ptr) @ stdcall CreateErrorInfo(ptr)
@ stdcall CreateStreamOnHGlobal(ptr long ptr) ole32.CreateStreamOnHGlobal @ stdcall CreateStreamOnHGlobal(ptr long ptr) ole32.CreateStreamOnHGlobal
@ stub DcomChannelSetHResult @ stub DcomChannelSetHResult
@ stdcall DllDebugObjectRPCHook(long ptr) ole32.DllDebugObjectRPCHook @ stdcall DllDebugObjectRPCHook(long ptr)
@ stdcall DllGetActivationFactory(ptr ptr) @ stdcall DllGetActivationFactory(ptr ptr)
@ stdcall -private DllGetClassObject(ptr ptr ptr) ole32.DllGetClassObject @ stdcall -private DllGetClassObject(ptr ptr ptr) ole32.DllGetClassObject
@ stub EnableHookObject @ stub EnableHookObject
......
...@@ -2244,3 +2244,13 @@ void rpc_start_remoting(struct apartment *apt) ...@@ -2244,3 +2244,13 @@ void rpc_start_remoting(struct apartment *apt)
} }
start_apartment_remote_unknown(apt); start_apartment_remote_unknown(apt);
} }
/******************************************************************************
* DllDebugObjectRPCHook (combase.@)
*/
BOOL WINAPI DllDebugObjectRPCHook(BOOL trace, /* ORPC_INIT_ARGS * */ void *args)
{
FIXME("%d, %p: stub\n", trace, args);
return TRUE;
}
...@@ -562,21 +562,6 @@ HRESULT COM_OpenKeyForCLSID(REFCLSID clsid, LPCWSTR keyname, REGSAM access, HKEY ...@@ -562,21 +562,6 @@ HRESULT COM_OpenKeyForCLSID(REFCLSID clsid, LPCWSTR keyname, REGSAM access, HKEY
} }
/*********************************************************************** /***********************************************************************
* CoResumeClassObjects (OLE32.@)
*
* Resumes all class objects registered with REGCLS_SUSPENDED.
*
* RETURNS
* Success: S_OK.
* Failure: HRESULT code.
*/
HRESULT WINAPI CoResumeClassObjects(void)
{
FIXME("stub\n");
return S_OK;
}
/***********************************************************************
* CoLoadLibrary (OLE32.@) * CoLoadLibrary (OLE32.@)
* *
* Loads a library. * Loads a library.
...@@ -636,24 +621,6 @@ void WINAPI CoFreeAllLibraries(void) ...@@ -636,24 +621,6 @@ void WINAPI CoFreeAllLibraries(void)
} }
/*********************************************************************** /***********************************************************************
* CoInitializeWOW (OLE32.@)
*
* WOW equivalent of CoInitialize?
*
* PARAMS
* x [I] Unknown.
* y [I] Unknown.
*
* RETURNS
* Unknown.
*/
HRESULT WINAPI CoInitializeWOW(DWORD x,DWORD y)
{
FIXME("(0x%08x,0x%08x),stub!\n",x,y);
return 0;
}
/***********************************************************************
* CoGetState [OLE32.@] * CoGetState [OLE32.@]
* *
* Retrieves the thread state object previously stored by CoSetState(). * Retrieves the thread state object previously stored by CoSetState().
...@@ -835,41 +802,6 @@ BOOL WINAPI IsEqualGUID( ...@@ -835,41 +802,6 @@ BOOL WINAPI IsEqualGUID(
} }
/*********************************************************************** /***********************************************************************
* CoSuspendClassObjects [OLE32.@]
*
* Suspends all registered class objects to prevent further requests coming in
* for those objects.
*
* RETURNS
* Success: S_OK.
* Failure: HRESULT code.
*/
HRESULT WINAPI CoSuspendClassObjects(void)
{
FIXME("\n");
return S_OK;
}
/***********************************************************************
* CoIsHandlerConnected [OLE32.@]
*
* Determines whether a proxy is connected to a remote stub.
*
* PARAMS
* pUnk [I] Pointer to object that may or may not be connected.
*
* RETURNS
* TRUE if pUnk is not a proxy or if pUnk is connected to a remote stub, or
* FALSE otherwise.
*/
BOOL WINAPI CoIsHandlerConnected(IUnknown *pUnk)
{
FIXME("%p\n", pUnk);
return TRUE;
}
/***********************************************************************
* CoAllowSetForegroundWindow [OLE32.@] * CoAllowSetForegroundWindow [OLE32.@]
* *
*/ */
...@@ -1005,46 +937,6 @@ HRESULT Handler_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) ...@@ -1005,46 +937,6 @@ HRESULT Handler_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
return CLASS_E_CLASSNOTAVAILABLE; return CLASS_E_CLASSNOTAVAILABLE;
} }
/***********************************************************************
* CoDisableCallCancellation [OLE32.@]
*/
HRESULT WINAPI CoDisableCallCancellation(void *reserved)
{
FIXME("(%p): stub\n", reserved);
return E_NOTIMPL;
}
/***********************************************************************
* CoEnableCallCancellation [OLE32.@]
*/
HRESULT WINAPI CoEnableCallCancellation(void *reserved)
{
FIXME("(%p): stub\n", reserved);
return E_NOTIMPL;
}
/***********************************************************************
* CoRegisterSurrogate [OLE32.@]
*/
HRESULT WINAPI CoRegisterSurrogate(ISurrogate *surrogate)
{
FIXME("(%p): stub\n", surrogate);
return E_NOTIMPL;
}
/***********************************************************************
* CoRegisterSurrogateEx [OLE32.@]
*/
HRESULT WINAPI CoRegisterSurrogateEx(REFGUID guid, void *reserved)
{
FIXME("(%s %p): stub\n", debugstr_guid(guid), reserved);
return E_NOTIMPL;
}
typedef struct { typedef struct {
IGlobalOptions IGlobalOptions_iface; IGlobalOptions IGlobalOptions_iface;
LONG ref; LONG ref;
......
...@@ -2729,14 +2729,3 @@ void WINAPI PropSysFreeString(LPOLESTR str) ...@@ -2729,14 +2729,3 @@ void WINAPI PropSysFreeString(LPOLESTR str)
{ {
SysFreeString(str); SysFreeString(str);
} }
/******************************************************************************
* DllDebugObjectRPCHook (OLE32.@)
* turns on and off internal debugging, pointer is only used on macintosh
*/
BOOL WINAPI DllDebugObjectRPCHook(BOOL b, void *dummy)
{
FIXME("stub\n");
return TRUE;
}
...@@ -15,10 +15,10 @@ ...@@ -15,10 +15,10 @@
@ stdcall CoCreateInstance(ptr ptr long ptr ptr) combase.CoCreateInstance @ stdcall CoCreateInstance(ptr ptr long ptr ptr) combase.CoCreateInstance
@ stdcall CoCreateInstanceEx(ptr ptr long ptr long ptr) combase.CoCreateInstanceEx @ stdcall CoCreateInstanceEx(ptr ptr long ptr long ptr) combase.CoCreateInstanceEx
@ stdcall CoDecrementMTAUsage(ptr) combase.CoDecrementMTAUsage @ stdcall CoDecrementMTAUsage(ptr) combase.CoDecrementMTAUsage
@ stdcall CoDisableCallCancellation(ptr) @ stdcall CoDisableCallCancellation(ptr) combase.CoDisableCallCancellation
@ stdcall CoDisconnectObject(ptr long) combase.CoDisconnectObject @ stdcall CoDisconnectObject(ptr long) combase.CoDisconnectObject
@ stdcall CoDosDateTimeToFileTime(long long ptr) kernel32.DosDateTimeToFileTime @ stdcall CoDosDateTimeToFileTime(long long ptr) kernel32.DosDateTimeToFileTime
@ stdcall CoEnableCallCancellation(ptr) @ stdcall CoEnableCallCancellation(ptr) combase.CoEnableCallCancellation
@ stdcall CoFileTimeNow(ptr) combase.CoFileTimeNow @ stdcall CoFileTimeNow(ptr) combase.CoFileTimeNow
@ stdcall CoFileTimeToDosDateTime(ptr ptr ptr) kernel32.FileTimeToDosDateTime @ stdcall CoFileTimeToDosDateTime(ptr ptr ptr) kernel32.FileTimeToDosDateTime
@ stdcall CoFreeAllLibraries() @ stdcall CoFreeAllLibraries()
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
@ stdcall CoGetApartmentType(ptr ptr) combase.CoGetApartmentType @ stdcall CoGetApartmentType(ptr ptr) combase.CoGetApartmentType
@ stdcall CoGetCallContext(ptr ptr) combase.CoGetCallContext @ stdcall CoGetCallContext(ptr ptr) combase.CoGetCallContext
@ stdcall CoGetCallState(long ptr) combase.CoGetCallState @ stdcall CoGetCallState(long ptr) combase.CoGetCallState
@ stdcall CoGetCallerTID(ptr) @ stdcall CoGetCallerTID(ptr) combase.CoGetCallerTID
@ stdcall CoGetClassObject(ptr long ptr ptr ptr) combase.CoGetClassObject @ stdcall CoGetClassObject(ptr long ptr ptr ptr) combase.CoGetClassObject
@ stdcall CoGetContextToken(ptr) combase.CoGetContextToken @ stdcall CoGetContextToken(ptr) combase.CoGetContextToken
@ stdcall CoGetCurrentLogicalThreadId(ptr) combase.CoGetCurrentLogicalThreadId @ stdcall CoGetCurrentLogicalThreadId(ptr) combase.CoGetCurrentLogicalThreadId
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
@ stdcall CoInitialize(ptr) @ stdcall CoInitialize(ptr)
@ stdcall CoInitializeEx(ptr long) combase.CoInitializeEx @ stdcall CoInitializeEx(ptr long) combase.CoInitializeEx
@ stdcall CoInitializeSecurity(ptr long ptr ptr long long ptr long ptr) combase.CoInitializeSecurity @ stdcall CoInitializeSecurity(ptr long ptr ptr long long ptr long ptr) combase.CoInitializeSecurity
@ stdcall CoInitializeWOW(long long) @ stdcall CoInitializeWOW(long long) combase.CoInitializeWOW
@ stdcall CoIsHandlerConnected(ptr) @ stdcall CoIsHandlerConnected(ptr) combase.CoIsHandlerConnected
@ stdcall CoIsOle1Class (ptr) @ stdcall CoIsOle1Class (ptr)
@ stdcall CoLoadLibrary(wstr long) @ stdcall CoLoadLibrary(wstr long)
@ stdcall CoLockObjectExternal(ptr long long) combase.CoLockObjectExternal @ stdcall CoLockObjectExternal(ptr long long) combase.CoLockObjectExternal
...@@ -70,18 +70,18 @@ ...@@ -70,18 +70,18 @@
@ stdcall CoRegisterMallocSpy(ptr) combase.CoRegisterMallocSpy @ stdcall CoRegisterMallocSpy(ptr) combase.CoRegisterMallocSpy
@ stdcall CoRegisterMessageFilter(ptr ptr) combase.CoRegisterMessageFilter @ stdcall CoRegisterMessageFilter(ptr ptr) combase.CoRegisterMessageFilter
@ stdcall CoRegisterPSClsid(ptr ptr) combase.CoRegisterPSClsid @ stdcall CoRegisterPSClsid(ptr ptr) combase.CoRegisterPSClsid
@ stdcall CoRegisterSurrogate(ptr) @ stdcall CoRegisterSurrogate(ptr) combase.CoRegisterSurrogate
@ stdcall CoRegisterSurrogateEx(ptr ptr) @ stdcall CoRegisterSurrogateEx(ptr ptr) combase.CoRegisterSurrogateEx
@ stdcall CoReleaseMarshalData(ptr) combase.CoReleaseMarshalData @ stdcall CoReleaseMarshalData(ptr) combase.CoReleaseMarshalData
@ stdcall CoReleaseServerProcess() combase.CoReleaseServerProcess @ stdcall CoReleaseServerProcess() combase.CoReleaseServerProcess
@ stdcall CoResumeClassObjects() @ stdcall CoResumeClassObjects() combase.CoResumeClassObjects
@ stdcall CoRevertToSelf() combase.CoRevertToSelf @ stdcall CoRevertToSelf() combase.CoRevertToSelf
@ stdcall CoRevokeClassObject(long) combase.CoRevokeClassObject @ stdcall CoRevokeClassObject(long) combase.CoRevokeClassObject
@ stdcall CoRevokeInitializeSpy(int64) combase.CoRevokeInitializeSpy @ stdcall CoRevokeInitializeSpy(int64) combase.CoRevokeInitializeSpy
@ stdcall CoRevokeMallocSpy() combase.CoRevokeMallocSpy @ stdcall CoRevokeMallocSpy() combase.CoRevokeMallocSpy
@ stdcall CoSetProxyBlanket(ptr long long ptr long long ptr long) combase.CoSetProxyBlanket @ stdcall CoSetProxyBlanket(ptr long long ptr long long ptr long) combase.CoSetProxyBlanket
@ stdcall CoSetState(ptr) @ stdcall CoSetState(ptr)
@ stdcall CoSuspendClassObjects() @ stdcall CoSuspendClassObjects() combase.CoSuspendClassObjects
@ stdcall CoSwitchCallContext(ptr ptr) combase.CoSwitchCallContext @ stdcall CoSwitchCallContext(ptr ptr) combase.CoSwitchCallContext
@ stdcall CoTaskMemAlloc(long) combase.CoTaskMemAlloc @ stdcall CoTaskMemAlloc(long) combase.CoTaskMemAlloc
@ stdcall CoTaskMemFree(ptr) combase.CoTaskMemFree @ stdcall CoTaskMemFree(ptr) combase.CoTaskMemFree
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
@ stdcall CreatePointerMoniker(ptr ptr) @ stdcall CreatePointerMoniker(ptr ptr)
@ stdcall CreateStreamOnHGlobal(ptr long ptr) @ stdcall CreateStreamOnHGlobal(ptr long ptr)
@ stdcall DestroyRunningObjectTable() @ stdcall DestroyRunningObjectTable()
@ stdcall DllDebugObjectRPCHook(long ptr) @ stdcall DllDebugObjectRPCHook(long ptr) combase.DllDebugObjectRPCHook
@ stdcall -private DllGetClassObject (ptr ptr ptr) @ stdcall -private DllGetClassObject (ptr ptr ptr)
@ stub DllGetClassObjectWOW @ stub DllGetClassObjectWOW
@ stdcall -private DllRegisterServer() @ stdcall -private DllRegisterServer()
......
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