IMFContentDecryptionModuleSession interface (mfcontentdecryptionmodule.h)

Provides access to the Content Decryption Module (CDM) for encrypted media extensions support.

Inheritance

IUnknown

Methods

The IMFContentDecryptionModuleSession interface has these methods.

 
IMFContentDecryptionModuleSession::Close

Indicates that the application no longer needs the session and the Content Decryption Module (CDM) should release any resources associated with the session and close it.
IMFContentDecryptionModuleSession::GenerateRequest

Generates a license request based on the provided data.
IMFContentDecryptionModuleSession::GetExpiration

Gets the expiration time for all keys in the CDM session.
IMFContentDecryptionModuleSession::GetKeyStatuses

Gets a reference to an array of structures that represent the key IDs known to the Content Decryption Module (CDM) session and the current status of the associated key.
IMFContentDecryptionModuleSession::GetSessionId

Gets a unique string identifier generated by the Content Decryption Module (CDM) that can be used by the application to identify session objects.
IMFContentDecryptionModuleSession::Load

The IMFContentDecryptionModuleSession::Load function loads the data for the specified session into the IMFContentDecryptionModuleSession object.
IMFContentDecryptionModuleSession::Remove

Removes all licenses and keys associated with the session.
IMFContentDecryptionModuleSession::Update

Provides messages, including licenses, to the Content Decryption Module (CDM) session.

Remarks

IMFContentDecryptionModuleSession is based on the Encrypted Media Extension specification's MediaKeySession.

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