指定したメディア保護システムの IMFContentDecryptorContext インターフェイスを作成します。
構文
HRESULT MFCreateContentDecryptorContext(
[in] REFGUID guidMediaProtectionSystemId,
[in, optional] IMFDXGIDeviceManager *pD3DManager,
[in] IMFContentProtectionDevice *pContentProtectionDevice,
[out] IMFContentDecryptorContext **ppContentDecryptorContext
);
パラメーター
[in] guidMediaProtectionSystemId
IMFContentDecryptorContext インターフェイスを作成するメディア保護システムの識別子。
[in, optional] pD3DManager
Direct3D 11 デバイスの共有に使用する IMFDXGIDeviceManager インターフェイスへのポインター。
[in] pContentProtectionDevice
指定されたメディア保護システムの IMFContentProtectionDevice インターフェイス。
[out] ppContentDecryptorContext
作成された IMFContentDecryptorContext インターフェイスへのポインター。
戻り値
なし
必要条件
| 要件 | 値 |
|---|---|
| サポートされている最小のクライアント | Windows 10 [デスクトップ アプリ |UWP アプリ] |
| サポートされている最小のサーバー | Windows Server 2016 [デスクトップ アプリ |UWP アプリ] |
| 対象プラットフォーム | Windows |
| ヘッダー | mfidl.h |
| Library | Mfplat.lib |
| [DLL] | Mfplat.dll |