Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA structure

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

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

 

 

Show:
© 2017 Microsoft