// d3d10umddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
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).
PrivateDataSizeContains the size of the private data reserved for IHV usage. This size is determined from the pPrivateInputSize member returned by GetCryptoSessionPrivateDataSize.
HWProtectionDataSizeContains the size of the DRM command data.
pbInputIf 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.
D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_DATA
GetCryptoSessionPrivateDataSize
NegotiateCryptoSessionKeyExchange