IMFContentDecryptionModuleFactory::CreateContentDecryptionModuleAccess-Methode (mfcontentdecryptionmodule.h)

Erstellt eine instance der IMFContentDecryptionModuleAccess-Schnittstelle.

Syntax

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

Parameter

keySystem

Ein LPWSTR , der das Schlüsselsystem identifiziert, für das die Schnittstelle erstellt wird.

configurations

Ein IPropertyStore-Objekt , das die Konfigurationsoptionen für das CDM enthält.

numConfigurations

Ein DWORD , das die Anzahl der Eigenschaften im Konfigurationsparameter angibt.

contentDecryptionModuleAccess

Empfängt das erstellte IMFContentDecryptionModuleAccess-Objekt .

Rückgabewert

Gibt bei Erfolg S_OK zurück.

Hinweise

IMFContentDecryptionModuleAccess basiert auf der Spezifikation MediaKeySystemAccess.getConfiguration der Encrypted Media Extension-Spezifikation.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 10, Version 2004 (10.0; Build 19041)
Unterstützte Mindestversion (Server) Windows Server, Version 2004 (10.0; Build 19041)
Kopfzeile mfcontentdecryptionmodule.h

Weitere Informationen