MFCreateContentProtectionDevice function (mfidl.h)

Creates an IMFContentProtectionDevice interface for the specified media protection system.

Syntax

HRESULT MFCreateContentProtectionDevice(
  [in]  REFGUID                    ProtectionSystemId,
  [out] IMFContentProtectionDevice **ContentProtectionDevice
);

Parameters

[in] ProtectionSystemId

The identifier of the media protection system for which you want to create the IMFContentProtectionDevice interface.

[out] ContentProtectionDevice

Pointer to the created IMFContentProtectionDevice 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

See also

IMFContentProtectionDevice

Media Foundation Functions