Expand Minimize
0 out of 2 rated this helpful - Rate this topic

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

Roapi.h

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.