// d3d10umddi.h
typedef struct D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_DATA {
UINT HWProtectionFunctionID;
D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA *pInputData;
D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA *pOutputData;
HRESULT Status;
} D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_DATA is used with NegotiateCryptoSessionKeyExchange in the implementation of Digital Rights Management (DRM).
HWProtectionFunctionIDSpecifies the function ID of the DRM command. The values and meanings of the function ID are defined by each individual DRM component.
pInputDataPointer to a buffer containing a D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA structure, reserved memory for IHV use, and the input data for the DRM command.
pOutputDataPointer to a buffer containing a D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA structure, reserved memory for IHV use, and the output data for the DRM command.
StatusReturns the result of the hardware DRM command.
A pointer to this structure is passed in as the pData parameter of NegotiateCryptoSessionKeyExchange function when the CryptoSession object is creating using the D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION key exchange type.
D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA
D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA
NegotiateCryptoSessionKeyExchange