D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_DATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d10umddi-d3dwddm2_0ddi_key_exchange_hw_protection_data)

D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_DATA structure

Description

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

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.

See also

D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA

D3DWDDM2_0DDI_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA

NegotiateCryptoSessionKeyExchange