D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA structure (d3d11_1.h)

Represents key exchange input data for hardware content protection.

Syntax

typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA {
  UINT PrivateDataSize;
  UINT HWProtectionDataSize;
  BYTE pbInput[4];
} D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA;

Members

PrivateDataSize

The size of the private data reserved for IHV usage. This size is determined from the pPrivateInputSize parameter returned by the ID3D11VideoDevice1::GetCryptoSessionPrivateDataSize function.

HWProtectionDataSize

The size of the DRM command data.

pbInput[4]

If PrivateDataSize is greater than 0, pbInput[0] – pbInput[PrivateDataSize - 1] is reserved for IHV use.

pbInput[PrivateDataSize] – pbInput[HWProtectionDataSize + PrivateDataSize - 1] contains the input data for the DRM command. The format and size of the DRM command is defined by the DRM specification.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header d3d11_1.h

See also

Direct3D 11 Video Structures