PFND3DWDDM2_0DDI_CHECKCRYPTOSESSIONSTATUS callback function (d3d10umddi.h)

CheckCryptoSessionStatus returns the status of a CryptoSession object.

Syntax

PFND3DWDDM2_0DDI_CHECKCRYPTOSESSIONSTATUS Pfnd3dwddm20DdiCheckcryptosessionstatus;

void Pfnd3dwddm20DdiCheckcryptosessionstatus(
  D3D10DDI_HDEVICE hDevice,
  D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
  D3DWDDM2_0DDI_CRYPTO_SESSION_STATUS *pStatus
)
{...}

Parameters

hDevice

A handle to the display device (graphics context). The Direct3D runtime passed the user-mode driver this handle as the hDevice member of the D3DDDIARG_CREATEDEVICE structure at device creation.

hCryptoSession

A handle to the cryptographic session object that was created through a call to the CreateCryptoSessionDDI.

pStatus

Receives a status as a value of the D3DWDDM2_0DDI_CRYPTO_SESSION_STATUS enumeration.

Return value

None

Remarks

The application may call this DDI after receiving a hardware content protection tear-down notification to determine the state of the underlying hardware key and protected content.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

CreateCryptoSession

D3DDDIARG_CREATEDEVICE

D3DWDDM2_0DDI_CRYPTO_SESSION_STATUS