Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

RoGetActivationFactory function

Gets the activation factory for the specified runtime class.

Syntax


HRESULT RoGetActivationFactory(
  _In_  HSTRING activatableClassId,
  _In_  REFIID  iid,
  _Out_ void    **factory
);

Parameters

activatableClassId [in]

Type: HSTRING

The ID of the activatable class.

iid [in]

Type: REFIID

The reference ID of the interface.

factory [out]

Type: void**

The activation factory.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Windows Phone 8: This API is supported.

Windows Phone 8.1: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Roapi.h

DLL

Combase.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft