ID3D11VideoContext1::CheckCryptoSessionStatus method

Checks the status of a crypto session.

Syntax


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

Parameters

pCryptoSession [in]

Type: ID3D11CryptoSession*

Specifies a ID3D11CryptoSession for which status is checked.

pStatus [out]

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_OKThe operation completed successfully.
E_INVALIDARGAn invalid parameter was passed or this function was called using an invalid calling pattern.
E_OUTOFMEMORYThere is insufficient memory to complete the operation.

 

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

D3d11_1.h

See also

ID3D11VideoContext1

 

 

Show: