Commit ddbe3a70 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

combase: Add stub for RoRegisterForApartmentShutdown.

parent a422f0ef
......@@ -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;
}
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