IMFContentDecryptionModuleSession::Close method (mfcontentdecryptionmodule.h)

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.

Syntax

HRESULT Close();

Return value

Returns S_OK on success.

Remarks

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

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