D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA structure (d3d10umddi.h)

D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA is used with D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_DATA in the implementation of Digital Rights Management (DRM).

Syntax

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

Members

PrivateDataSize

Contains the size of the private data reserved for IHV usage. This size is determined from the pPrivateInputSize member returned by GetCryptoSessionPrivateDataSize.

HWProtectionDataSize

Contains 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
Minimum supported server Windows Server 2016
Header d3d10umddi.h (include D3d10umddi.h)

See also

D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_DATA

GetCryptoSessionPrivateDataSize

NegotiateCryptoSessionKeyExchange