D3DWDDM2_0DDI_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION structure (d3d10umddi.h)

D3DWDDM2_0DDI_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION is used along with CreateCryptoSession to perform crypto operations into and out of protected memory.

Syntax

typedef struct D3DWDDM2_0DDI_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION {
  D3D11_1DDI_HCRYPTOSESSION hCryptoSession;
  void                      *pBlob;
  UINT                      BlobSize;
  GUID                      *pKeyInfoId;
  void                      *pPrivateData;
  UINT                      PrivateDataSize;
} D3DWDDM2_0DDI_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION;

Members

hCryptoSession

A handle to a cryptographic session object created using CreateCryptoSession.

pBlob

A pointer to an IHV-defined blob allocated by an upstream DRM component. The blob identifies the sealed decryption key to be used for the current frame.

BlobSize

Size of the IHV-defined blob referenced in the pBlob member.

pKeyInfoId

A pointer to a GUID identifying the hardware key.

pPrivateData

The definition of this buffer is dependent on the implementation of the secure environment. It may contain data specific to the current frame.

PrivateDataSize

Contains the size of the memory buffer referenced by the pPrivateData member.

Remarks

A pointer to this structure is passed in the pContentKey member of the D3D11_1DDIARG_VIDEODECODERBEGINFRAME structure when D3DWDDM2_0DDI_DECODER_ENCRYPTION_HW_CENC is specified in the guidConfigBitstreamEncryption member of the D3D11_1DDI_VIDEO_DECODER_CONFIG structure when creating the video decoder object.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3d10umddi.h (include D3d10umddi.h)

See also

CreateCryptoSession

D3D11_1DDIARG_VIDEODECODERBEGINFRAME

D3D11_1DDI_VIDEO_DECODER_CONFIG