D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_DATA structure (d3d10umddi.h)

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

Syntax

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;

Members

HWProtectionFunctionID

Specifies the function ID of the DRM command. The values and meanings of the function ID are defined by each individual DRM component.

pInputData

Pointer 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.

pOutputData

Pointer 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.

Status

Returns the result of the hardware DRM command.

Remarks

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.

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_INPUT_DATA

D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA

NegotiateCryptoSessionKeyExchange