MFCreateContentDecryptorContext function (mfidl.h)
Creates an IMFContentDecryptorContext interface for the specified media protection system.
Syntax
HRESULT MFCreateContentDecryptorContext(
[in] REFGUID guidMediaProtectionSystemId,
[in, optional] IMFDXGIDeviceManager *pD3DManager,
[in] IMFContentProtectionDevice *pContentProtectionDevice,
[out] IMFContentDecryptorContext **ppContentDecryptorContext
);
Parameters
[in] guidMediaProtectionSystemId
The identifier of the media protection system for which you want to create an IMFContentDecryptorContext interface.
[in, optional] pD3DManager
Pointer to the IMFDXGIDeviceManager interface that you want to use for sharing the Direct3D 11 device.
[in] pContentProtectionDevice
The IMFContentProtectionDevice interface for the specified media protection system.
[out] ppContentDecryptorContext
Pointer to the created IMFContentDecryptorContext interface.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2016 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfplat.lib |
DLL | Mfplat.dll |