MFCreateContentDecryptorContext function
Creates an IMFContentDecryptorContext interface for the specified media protection system.
Syntax
STDAPI MFCreateContentDecryptorContext( _In_ REFGUID guidMediaProtectionSystemId, _In_opt_ IMFDXGIDeviceManager *pD3DManager, _In_ IMFContentProtectionDevice *pContentProtectionDevice, _Out_ IMFContentDecryptorContext **ppContentDecryptorContext );
Parameters
- guidMediaProtectionSystemId [in]
-
The identifier of the media protection system for which you want to create an IMFContentDecryptorContext interface.
- pD3DManager [in, optional]
-
Pointer to the IMFDXGIDeviceManager interface that you want to use for sharing the Direct3D 11 device.
- pContentProtectionDevice [in]
-
The IMFContentProtectionDevice interface for the specified media protection system.
- ppContentDecryptorContext [out]
-
Pointer to the created IMFContentDecryptorContext interface.
Requirements
|
Minimum supported client |
Windows 10 [desktop apps | UWP apps] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
- Media Foundation Functions
- IMFContentDecryptorContext
- IMFDXGIDeviceManager
- IMFContentProtectionDevice