Skip to content
Snippets Groups Projects
Commit 74c2bc6a authored by Michael Müller's avatar Michael Müller Committed by Michael Stefaniuc
Browse files

combase: Implement RoActivateInstance.


Signed-off-by: default avatarAlistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
(cherry picked from commit e5275c2f)
Signed-off-by: default avatarMichael Stefaniuc <mstefani@winehq.org>
parent 1ca720a9
No related branches found
No related tags found
No related merge requests found
@ stub RoActivateInstance
@ stdcall RoActivateInstance(ptr ptr) combase.RoActivateInstance
@ stdcall RoGetActivationFactory(ptr ptr ptr) combase.RoGetActivationFactory
@ stub RoGetApartmentIdentifier
@ stdcall RoInitialize(long) combase.RoInitialize
......
......@@ -242,7 +242,7 @@
@ stdcall PropVariantClear(ptr) ole32.PropVariantClear
@ stdcall PropVariantCopy(ptr ptr) ole32.PropVariantCopy
@ stub ReleaseFuncDescs
@ stub RoActivateInstance
@ stdcall RoActivateInstance(ptr ptr)
@ stub RoCaptureErrorContext
@ stub RoClearError
@ stub RoFailFastWithErrorContext
......
......@@ -198,3 +198,23 @@ HRESULT WINAPI RoGetParameterizedTypeInstanceIID(UINT32 name_element_count, cons
if (hiid) *hiid = INVALID_HANDLE_VALUE;
return E_NOTIMPL;
}
/***********************************************************************
* RoActivateInstance (combase.@)
*/
HRESULT WINAPI RoActivateInstance(HSTRING classid, IInspectable **instance)
{
IActivationFactory *factory;
HRESULT hr;
FIXME("(%p, %p): semi-stub\n", classid, instance);
hr = RoGetActivationFactory(classid, &IID_IActivationFactory, (void **)&factory);
if (SUCCEEDED(hr))
{
hr = IActivationFactory_ActivateInstance(factory, instance);
IActivationFactory_Release(factory);
}
return hr;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment