MFGetContentProtectionSystemCLSID function (mfapi.h)

Gets the class identifier for a content protection system.

Syntax

HRESULT MFGetContentProtectionSystemCLSID(
  [in]  REFGUID guidProtectionSystemID,
  [out] CLSID   *pclsid
);

Parameters

[in] guidProtectionSystemID

The GUID that identifies the content protection system.

[out] pclsid

Receives the class identifier to the content protection system.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The class identifier can be used to create the input trust authority (ITA) for the content protection system. Call CoCreateInstance or IMFPMPHost::CreateObjectByCLSID to get an IMFTrustedInput pointer.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header mfapi.h
Library Mfplat.lib
DLL Mfplat.dll

See also

Media Foundation Functions