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.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Header |
|
Build date: 11/28/2012