IMFContentDecryptionModuleSession::Load method (mfcontentdecryptionmodule.h)

Loads the data for the specified session into the IMFContentDecryptionModuleSession object.

Syntax

HRESULT Load(
  LPCWSTR sessionId,
  BOOL    *loaded
);

Parameters

sessionId

The unique identifier of the session to load.

loaded

Receives a pointer to a BOOL indicating if the session data was loaded successfully.

Return value

Returns S_OK.

Remarks

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

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