ole32: Added a CoGetContextToken stub.

This commit is contained in:
Alexandre Julliard 2008-02-26 11:21:54 +01:00
parent 8e97ff5e3b
commit de61fc5eca
3 changed files with 15 additions and 0 deletions

View File

@ -3734,6 +3734,18 @@ HRESULT WINAPI CoGetObjectContext(REFIID riid, void **ppv)
return hr;
}
/***********************************************************************
* CoGetContextToken [OLE32.@]
*/
HRESULT WINAPI CoGetContextToken( ULONG_PTR *token )
{
FIXME( "stub\n" );
if (token) *token = 0;
return E_NOTIMPL;
}
/***********************************************************************
* DllMain (OLE32.@)
*/

View File

@ -24,6 +24,7 @@
@ stdcall CoGetCallContext(ptr ptr)
@ stub CoGetCallerTID
@ stdcall CoGetClassObject(ptr long ptr ptr ptr)
@ stdcall CoGetContextToken(ptr)
@ stub CoGetCurrentLogicalThreadId
@ stdcall CoGetCurrentProcess()
@ stub CoGetInstanceFromFile #@ stdcall (ptr ptr ptr long wstr long ptr) return 0,ERR_NOTIMPLEMENTED

View File

@ -350,6 +350,8 @@ LPVOID WINAPI CoTaskMemRealloc(LPVOID ptr, ULONG size);
HRESULT WINAPI CoRegisterMallocSpy(LPMALLOCSPY pMallocSpy);
HRESULT WINAPI CoRevokeMallocSpy(void);
HRESULT WINAPI CoGetContextToken( ULONG_PTR *token );
/* class registration flags; passed to CoRegisterClassObject */
typedef enum tagREGCLS
{