D3DWDDM2_0DDI_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d10umddi-d3dwddm2_0ddi_video_decoder_begin_frame_crypto_session)

D3DWDDM2_0DDI_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION structure

Description

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

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.

See also

CreateCryptoSession

D3D11_1DDIARG_VIDEODECODERBEGINFRAME

D3D11_1DDI_VIDEO_DECODER_CONFIG