MFMediaKeyStatus structure (mfidl.h)

Represents the status of a Content Decryption Module (CDM) session key.

Syntax

typedef struct MFMediaKeyStatus {
  BYTE               *pbKeyId;
  UINT               cbKeyId;
  MF_MEDIAKEY_STATUS eMediaKeyStatus;
} MFMediaKeyStatus;

Members

pbKeyId

A byte array representing the identifier of a session key.

cbKeyId

The number of bytes in the pbKeyId parameter.

eMediaKeyStatus

A value from the MF_MEDIAKEY_STATUS enumeration specifying the status of the associated session key.

Remarks

This structure is used as the output parameter for the IMFContentDecryptionModuleSession::GetKeyStatuses method.

MFMediaKeyStatus is based on the Encrypted Media Extension specification's MediaKeyStatusMap.

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 mfidl.h