Added stubs for RevokeActiveObject, GetActiveObject, fixed

RegisterActiveObject stub argtypes.
This commit is contained in:
Marcus Meissner 1999-10-13 12:19:09 +00:00 committed by Alexandre Julliard
parent e14deffd8b
commit 84e2d6bacc
2 changed files with 31 additions and 6 deletions

View File

@ -13,8 +13,33 @@
DEFAULT_DEBUG_CHANNEL(ole) DEFAULT_DEBUG_CHANNEL(ole)
HRESULT WINAPI RegisterActiveObject(DWORD x1,DWORD x2,DWORD x3,DWORD x4) HRESULT WINAPI RegisterActiveObject(
{ LPUNKNOWN punk,REFCLSID rcid,DWORD dwFlags,LPDWORD pdwRegister
FIXME("(0x%08lx,0x%08lx,0x%08lx,0x%08lx), stub!\n",x1,x2,x3,x4); ) {
char buf[80];
if (rcid)
WINE_StringFromCLSID(rcid,buf);
else
sprintf(buf,"<clsid-%p>",rcid);
FIXME("(%p,%s,0x%08lx,%p), stub!\n",punk,buf,dwFlags,pdwRegister);
return E_FAIL;
}
HRESULT WINAPI RevokeActiveObject(DWORD xregister,LPVOID reserved)
{
FIXME("(0x%08lx,%p),stub!\n",xregister,reserved);
return E_FAIL;
}
HRESULT WINAPI GetActiveObject(REFCLSID rcid,LPVOID preserved,LPUNKNOWN *ppunk)
{
char buf[80];
if (rcid)
WINE_StringFromCLSID(rcid,buf);
else
sprintf(buf,"<clsid-%p>",rcid);
FIXME("(%s,%p,%p),stub!\n",buf,preserved,ppunk);
return E_FAIL; return E_FAIL;
} }

View File

@ -33,9 +33,9 @@ type win32
30 stub DispInvoke 30 stub DispInvoke
31 stub CreateDispTypeInfo 31 stub CreateDispTypeInfo
32 stub CreateStdDispatch 32 stub CreateStdDispatch
33 stdcall RegisterActiveObject(long long long long) RegisterActiveObject 33 stdcall RegisterActiveObject(ptr ptr long ptr) RegisterActiveObject
34 stub RevokeActiveObject 34 stdcall RevokeActiveObject(long ptr) RevokeActiveObject
35 stub GetActiveObject 35 stdcall GetActiveObject(ptr ptr ptr) GetActiveObject
36 stdcall SafeArrayAllocDescriptor(long ptr) SafeArrayAllocDescriptor 36 stdcall SafeArrayAllocDescriptor(long ptr) SafeArrayAllocDescriptor
37 stdcall SafeArrayAllocData(ptr) SafeArrayAllocData 37 stdcall SafeArrayAllocData(ptr) SafeArrayAllocData
38 stdcall SafeArrayDestroyDescriptor(ptr) SafeArrayDestroyDescriptor 38 stdcall SafeArrayDestroyDescriptor(ptr) SafeArrayDestroyDescriptor