Edit

Share via


ID3D11VideoDevice2::NegotiateCryptoSessionKeyExchangeMT method (d3d11_4.h)

Verifies that ID3D11VideoContext::NegotiateCryptoSessionKeyExchange behaves as expected when called asynchronously.

Syntax

HRESULT NegotiateCryptoSessionKeyExchangeMT(
  ID3D11CryptoSession                     *pCryptoSession,
  D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS flags,
  UINT                                    DataSize,
  void                                    *pData
);

Parameters

pCryptoSession

Type: _In_ ID3D11CryptoSession*

A pointer to the ID3D11CryptoSession interface of the cryptographic session.

flags

Type: _In_ D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS

Flags.

DataSize

Type: _In_ UINT

The size of the pData byte array, in bytes.

pData

Type: _Inout_updates_bytes_(DataSize) void*

A pointer to a byte array that contains the encrypted session key.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Header d3d11_4.h

See also