Collapse the table of content
Expand the table of content
展开 最小化
EN
此内容没有您的语言版本,但有英语版本。

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

 

 

社区附加资源

显示:
© 2015 Microsoft