IMFContentDecryptionModuleFactory::CreateContentDecryptionModuleAccess メソッド (mfcontentdecryptionmodule.h)

IMFContentDecryptionModuleAccess インターフェイスのインスタンスを作成します。

構文

HRESULT CreateContentDecryptionModuleAccess(
  LPCWSTR                          keySystem,
  IPropertyStore                   **configurations,
  DWORD                            numConfigurations,
  IMFContentDecryptionModuleAccess **contentDecryptionModuleAccess
);

パラメーター

keySystem

インターフェイスが作成されるキー システムを識別する LPWSTR

configurations

CDM の構成オプションを含む IPropertyStore オブジェクト。

numConfigurations

configurations パラメーターのプロパティの数を指定する DWORD

contentDecryptionModuleAccess

作成された IMFContentDecryptionModuleAccess オブジェクトを受け取ります。

戻り値

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

注釈

IMFContentDecryptionModuleAccess は、暗号化されたメディア拡張機能仕様の MediaKeySystemAccess.getConfiguration に基づいています。

要件

要件
サポートされている最小のクライアント Windows 10バージョン 2004 (10.0;ビルド 19041)
サポートされている最小のサーバー Windows Server バージョン 2004 (10.0;ビルド 19041)
Header mfcontentdecryptionmodule.h

こちらもご覧ください