MF_MEDIAKEYSESSION_TYPE enumeration (mfidl.h)
Specifies the type of a Content Decryption Module (CDM) session, represented by an IMFContentDecryptionModuleSession object.
Syntax
typedef enum MF_MEDIAKEYSESSION_TYPE {
MF_MEDIAKEYSESSION_TYPE_TEMPORARY = 0,
MF_MEDIAKEYSESSION_TYPE_PERSISTENT_LICENSE,
MF_MEDIAKEYSESSION_TYPE_PERSISTENT_RELEASE_MESSAGE,
MF_MEDIAKEYSESSION_TYPE_PERSISTENT_USAGE_RECORD
} ;
Constants
MF_MEDIAKEYSESSION_TYPE_TEMPORARY Value: 0 A session for which the license, key(s) and record of or data related to the session are not persisted. |
MF_MEDIAKEYSESSION_TYPE_PERSISTENT_LICENSE A session for which the license (and potentially other data related to the session) will be persisted. |
MF_MEDIAKEYSESSION_TYPE_PERSISTENT_RELEASE_MESSAGE A record of license destruction. |
MF_MEDIAKEYSESSION_TYPE_PERSISTENT_USAGE_RECORD A record of license usage. |
Remarks
Pass a member of this enumeration into IMFContentDecryptionModule::CreateSession
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
IMFContentDecryptionModuleSession](/windows/win32/api/mfcontentdecryptionmodule/nn-mfcontentdecryptionmodule-imfcontentdecryptionmodulesession)