ID3D11VideoContext1::CheckCryptoSessionStatus method (d3d11_1.h)

Checks the status of a crypto session.

Syntax

HRESULT CheckCryptoSessionStatus(
  [in]  ID3D11CryptoSession         *pCryptoSession,
  [out] D3D11_CRYPTO_SESSION_STATUS *pStatus
);

Parameters

[in] pCryptoSession

Type: ID3D11CryptoSession*

Specifies a ID3D11CryptoSession for which status is checked.

[out] pStatus

Type: D3D11_CRYPTO_SESSION_STATUS*

A D3D11_CRYPTO_SESSION_STATUS that is populated with the crypto session status upon completion.

Return value

Type: HRESULT

This method returns one of the following error codes.

S_OK The operation completed successfully.
E_INVALIDARG An invalid parameter was passed or this function was called using an invalid calling pattern.
E_OUTOFMEMORY There is insufficient memory to complete the operation.

Requirements

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

See also

ID3D11VideoContext1