IMFContentDecryptionModuleSession::Remove method (mfcontentdecryptionmodule.h)

Removes all licenses and keys associated with the session.

Syntax

HRESULT Remove();

Return value

Returns S_OK on success.

Remarks

For persistent session types, other session data will be cleared as defined for each session type once a release message acknowledgment is processed by Update.

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

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