Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |