IMFContentDecryptionModule::SetContentEnabler method (mfcontentdecryptionmodule.h)

Allows the caller to specify the IMFContentEnabler interface that shall be used by the Content Decryption Module (CDM).

Syntax

HRESULT SetContentEnabler(
  IMFContentEnabler *contentEnabler,
  IMFAsyncResult    *result
);

Parameters

contentEnabler

The IMFContentEnabler interface to be used by the CDM.

result

An IMFAsyncResult that provides information about the result of the operation.

Return value

Returns S_OK on success.

Remarks

The IMFContentEnabler is typically obtained by calling IMFInputTrustAuthority::RequestAccess.

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