Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMFMediaKeySession interface

Represents a session with the Digital Rights Management (DRM) key system.

Members

The IMFMediaKeySession interface inherits from the IUnknown interface. IMFMediaKeySession also has these types of members:

Methods

The IMFMediaKeySession interface has these methods.

MethodDescription
Close

Closes the media key session and must be called before the key session is released.

get_KeySystem

Gets the name of the key system name the media keys object was created with.

get_SessionId

Gets a unique session id created for this session.

GetError

Gets the error state associated with the media key session.

Update

Passes in a key value with any associated data required by the Content Decryption Module for the given key system.

 

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

IDL

Mfmediaengine.idl

See also

Media Foundation Interfaces

 

 

Show:
© 2017 Microsoft