MF_MEDIAKEYSESSION_MESSAGETYPE enumeration (mfidl.h)

Specifies the type of a Content Decryption Module (CDM) message.

Syntax

typedef enum MF_MEDIAKEYSESSION_MESSAGETYPE {
  MF_MEDIAKEYSESSION_MESSAGETYPE_LICENSE_REQUEST = 0,
  MF_MEDIAKEYSESSION_MESSAGETYPE_LICENSE_RENEWAL = 1,
  MF_MEDIAKEYSESSION_MESSAGETYPE_LICENSE_RELEASE = 2,
  MF_MEDIAKEYSESSION_MESSAGETYPE_INDIVIDUALIZATION_REQUEST = 3
} ;

Constants

 
MF_MEDIAKEYSESSION_MESSAGETYPE_LICENSE_REQUEST
Value: 0
The message contains a request for a new license.
MF_MEDIAKEYSESSION_MESSAGETYPE_LICENSE_RENEWAL
Value: 1
The message contains a request to renew an existing license.
MF_MEDIAKEYSESSION_MESSAGETYPE_LICENSE_RELEASE
Value: 2
The message contains a record of license destruction.
MF_MEDIAKEYSESSION_MESSAGETYPE_INDIVIDUALIZATION_REQUEST
Value: 3
The message contains a request for App-Assisted Individualization (or re-individualization).

Remarks

This value is used by the IMFContentDecryptionModuleSessionCallbacks::KeyMessage callback.

MF_MEDIAKEYSESSION_MESSAGETYPE is based on the Encrypted Media Extension specification's MediaKeyStatus enumeration.

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

See also

IMFContentDecryptionModuleSessionCallbacks::KeyMessage