// d3d10umddi.h
PFND3DWDDM2_0DDI_CHECKCRYPTOSESSIONSTATUS Pfnd3dwddm20DdiCheckcryptosessionstatus;
void Pfnd3dwddm20DdiCheckcryptosessionstatus(
D3D10DDI_HDEVICE hDevice,
D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
D3DWDDM2_0DDI_CRYPTO_SESSION_STATUS *pStatus
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
CheckCryptoSessionStatus returns the status of a CryptoSession object.
hDeviceA 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.
hCryptoSessionA handle to the cryptographic session object that was created through a call to the CreateCryptoSessionDDI.
pStatusReceives a status as a value of the D3DWDDM2_0DDI_CRYPTO_SESSION_STATUS enumeration.
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.
D3DWDDM2_0DDI_CRYPTO_SESSION_STATUS