D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA structure (d3d11_1.h)

Represents key exchange data for hardware content protection.

Syntax

typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA {
  UINT                                         HWProtectionFunctionID;
  D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA  *pInputData;
  D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA *pOutputData;
  HRESULT                                      Status;
} D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA;

Members

HWProtectionFunctionID

The function ID of the DRM command. The values and meanings of the function ID are defined by the DRM specification.

pInputData

Pointer to a buffer containing a D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA structure that specifies memory reserved for IHV use and the input data for the DRM command.

pOutputData

Pointer to a buffer containing a D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA structure that specifies memory reserved for IHV use and the input data for the DRM command.

Status

The result of the hardware DRM command.

Remarks

A pointer to this structure is passed in the pData parameter of ID3D11VideoContext::NegotiateCryptoSessionKeyExchange method when the ID3D11CryptoSession is creating using the D3D11_KEY_EXCHANGE_HW_PROTECTION key exchange type.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header d3d11_1.h

See also

Direct3D 11 Video Structures