combase: Add stub for RoRegisterForApartmentShutdown.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a422f0ef55
commit
ddbe3a7025
|
@ -3,7 +3,7 @@
|
|||
@ stdcall RoGetApartmentIdentifier(ptr) combase.RoGetApartmentIdentifier
|
||||
@ stdcall RoInitialize(long) combase.RoInitialize
|
||||
@ stub RoRegisterActivationFactories
|
||||
@ stub RoRegisterForApartmentShutdown
|
||||
@ stdcall RoRegisterForApartmentShutdown(ptr ptr ptr) combase.RoRegisterForApartmentShutdown
|
||||
@ stub RoRevokeActivationFactories
|
||||
@ stdcall RoUninitialize() combase.RoUninitialize
|
||||
@ stub RoUnregisterForApartmentShutdown
|
||||
|
|
|
@ -263,7 +263,7 @@
|
|||
@ stub RoOriginateLanguageException
|
||||
@ stub RoParameterizedTypeExtraGetTypeSignature
|
||||
@ stub RoRegisterActivationFactories
|
||||
@ stub RoRegisterForApartmentShutdown
|
||||
@ stdcall RoRegisterForApartmentShutdown(ptr ptr ptr)
|
||||
@ stub RoReportCapabilityCheckFailure
|
||||
@ stub RoReportFailedDelegate
|
||||
@ stub RoReportUnhandledError
|
||||
|
|
|
@ -232,3 +232,22 @@ HRESULT WINAPI RoGetApartmentIdentifier(UINT64 *identifier)
|
|||
*identifier = 0xdeadbeef;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* RoRegisterForApartmentShutdown (combase.@)
|
||||
*/
|
||||
HRESULT WINAPI RoRegisterForApartmentShutdown(IApartmentShutdown *callback,
|
||||
UINT64 *identifier, APARTMENT_SHUTDOWN_REGISTRATION_COOKIE *cookie)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
FIXME("(%p, %p, %p): stub\n", callback, identifier, cookie);
|
||||
|
||||
hr = RoGetApartmentIdentifier(identifier);
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
if (cookie)
|
||||
*cookie = (void *)0xcafecafe;
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue