Share via


GetActivationFactory 関数 (roapi.h)

指定したランタイム クラスのアクティブ化ファクトリを取得します。

構文

HRESULT GetActivationFactory(
  [in]  HSTRING activatableClassId,
  [out] T       **factory
);

パラメーター

[in] activatableClassId

アクティブ化可能なクラスの ID。

[out] factory

アクティブ化ファクトリ。

戻り値

成功すると S_OK を返します。

要件

要件
サポートされている最小のクライアント Windows 8 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2012 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー roapi.h (Stdafx.h を含む)
[DLL] Combase.dll