Bagikan melalui


Fungsi MFCreateContentDecryptorContext (mfidl.h)

Membuat antarmuka IMFContentDecryptorContext untuk sistem perlindungan media yang ditentukan.

Sintaks

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

Parameter

[in] guidMediaProtectionSystemId

Pengidentifikasi sistem perlindungan media yang ingin Anda buat antarmuka IMFContentDecryptorContext .

[in, optional] pD3DManager

Arahkan ke antarmuka IMFDXGIDeviceManager yang ingin Anda gunakan untuk berbagi perangkat Direct3D 11.

[in] pContentProtectionDevice

Antarmuka IMFContentProtectionDevice untuk sistem perlindungan media yang ditentukan.

[out] ppContentDecryptorContext

Arahkan ke antarmuka IMFContentDecryptorContext yang dibuat.

Nilai kembali

Tidak ada

Persyaratan

Persyaratan Nilai
Klien minimum yang didukung Windows 10 [aplikasi desktop | Aplikasi UWP]
Server minimum yang didukung Windows Server 2016 [aplikasi desktop | Aplikasi UWP]
Target Platform Windows
Header mfidl.h
Pustaka Mfplat.lib
DLL Mfplat.dll

Lihat juga

IMFContentDecryptorContext

IMFContentProtectionDevice

IMFDXGIDeviceManager

Fungsi Media Foundation