D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA structure (d3d11_1.h)

Represents key exchange output data for hardware content protection.

Syntax

typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA {
  UINT   PrivateDataSize;
  UINT   MaxHWProtectionDataSize;
  UINT   HWProtectionDataSize;
  UINT64 TransportTime;
  UINT64 ExecutionTime;
  BYTE   pbOutput[4];
} D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA;

Members

PrivateDataSize

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

MaxHWProtectionDataSize

The maximum size of data that the driver can return in the output buffer. The last byte that it can write to is pbOutput[PrivateDataSize + MaxHWProtectionDataSize – 1].

HWProtectionDataSize

The size of the output data written by the driver.

TransportTime

The number of 100 nanosecond units spent transporting the data.

ExecutionTime

The number of 100 nanosecond units spent executing the content protection command.

pbOutput[4]

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

pbOutput[PrivateDataSize] – pbOutput[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