IMFContentDecryptionModuleFactory::CreateContentDecryptionModuleAccess method (mfcontentdecryptionmodule.h)

Creates an instance of the IMFContentDecryptionModuleAccess interface.

Syntax

HRESULT CreateContentDecryptionModuleAccess(
  LPCWSTR                          keySystem,
  IPropertyStore                   **configurations,
  DWORD                            numConfigurations,
  IMFContentDecryptionModuleAccess **contentDecryptionModuleAccess
);

Parameters

keySystem

An LPWSTR identifying the Key System for which the interface is created.

configurations

An IPropertyStore object containing the configuration options for the CDM.

numConfigurations

A DWORD specifying the number of properties in the configurations parameter.

contentDecryptionModuleAccess

Receives the created IMFContentDecryptionModuleAccess object.

Return value

Returns S_OK on success.

Remarks

IMFContentDecryptionModuleAccess is based on the Encrypted Media Extension specification's MediaKeySystemAccess.getConfiguration.

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

See also