combase: Add stub for RoGetApartmentIdentifier.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Müller 2018-05-04 06:13:12 +00:00 committed by Alexandre Julliard
parent f7d1e16183
commit a422f0ef55
3 changed files with 16 additions and 2 deletions

View File

@ -1,6 +1,6 @@
@ stdcall RoActivateInstance(ptr ptr) combase.RoActivateInstance
@ stdcall RoGetActivationFactory(ptr ptr ptr) combase.RoGetActivationFactory
@ stub RoGetApartmentIdentifier
@ stdcall RoGetApartmentIdentifier(ptr) combase.RoGetApartmentIdentifier
@ stdcall RoInitialize(long) combase.RoInitialize
@ stub RoRegisterActivationFactories
@ stub RoRegisterForApartmentShutdown

View File

@ -250,7 +250,7 @@
@ stub RoGetActivatableClassRegistration
@ stdcall RoGetActivationFactory(ptr ptr ptr)
@ stub RoGetAgileReference
@ stub RoGetApartmentIdentifier
@ stdcall RoGetApartmentIdentifier(ptr)
@ stub RoGetErrorReportingFlags
@ stub RoGetMatchingRestrictedErrorInfo
@ stdcall RoGetParameterizedTypeInstanceIID(long ptr ptr ptr ptr)

View File

@ -218,3 +218,17 @@ HRESULT WINAPI RoActivateInstance(HSTRING classid, IInspectable **instance)
return hr;
}
/***********************************************************************
* RoGetApartmentIdentifier (combase.@)
*/
HRESULT WINAPI RoGetApartmentIdentifier(UINT64 *identifier)
{
FIXME("(%p): stub\n", identifier);
if (!identifier)
return E_INVALIDARG;
*identifier = 0xdeadbeef;
return S_OK;
}