MFGetContentProtectionSystemCLSID function (mfapi.h)

Gets the class identifier for a content protection system.


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


[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.


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.


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