Share via


Fonction MFCreateContentDecryptorContext (mfidl.h)

Crée une interface IMFContentDecryptorContext pour le système de protection des médias spécifié.

Syntaxe

HRESULT MFCreateContentDecryptorContext(
  [in]           REFGUID                    guidMediaProtectionSystemId,
  [in, optional] IMFDXGIDeviceManager       *pD3DManager,
  [in]           IMFContentProtectionDevice *pContentProtectionDevice,
  [out]          IMFContentDecryptorContext **ppContentDecryptorContext
);

Paramètres

[in] guidMediaProtectionSystemId

Identificateur du système de protection des médias pour lequel vous souhaitez créer une interface IMFContentDecryptorContext .

[in, optional] pD3DManager

Pointeur vers l’interface IMFDXGIDeviceManager que vous souhaitez utiliser pour partager l’appareil Direct3D 11.

[in] pContentProtectionDevice

Interface IMFContentProtectionDevice pour le système de protection des médias spécifié.

[out] ppContentDecryptorContext

Pointeur vers l’interface IMFContentDecryptorContext créée.

Valeur de retour

None

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 10 [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows Server 2016 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête mfidl.h
Bibliothèque Mfplat.lib
DLL Mfplat.dll

Voir aussi

IMFContentDecryptorContext

IMFContentProtectionDevice

IMFDXGIDeviceManager

Fonctions Media Foundation