IMFContentDecryptionModuleAccess::GetKeySystem method (mfcontentdecryptionmodule.h)

Gets a string identifying the Key System being used by the Content Decryption Module (CDM).

Syntax

HRESULT GetKeySystem(
  LPWSTR *keySystem
);

Parameters

keySystem

Receives a pointer to an LPWSTR identifying the Key System.

Return value

Returns S_OK on success.

Remarks

The keySystem memory must be allocated and freed using CoTaskMem.

GetKeySystem is based on the Encrypted Media Extension specification's MediaKeySystemAccess.getConfiguration.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header mfcontentdecryptionmodule.h