// d3d10umddi.h
PFND3D11_1DDI_GETENCRYPTIONBLTKEY Pfnd3d111DdiGetencryptionbltkey;
VOID Pfnd3d111DdiGetencryptionbltkey(
D3D10DDI_HDEVICE hDevice,
D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
UINT KeySize,
VOID *pReadbackKey
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Queries the key that is used to decrypt the data returned by the EncryptionBlt(D3D11_1) function.
hDeviceA handle to the display device (graphics context).
hCryptoSessionA handle to the cryptographic session that was created in a call to the driver's CreateCryptoSession function.
KeySizeThe size, in bytes, of the encryption key that the pReadBackKey parameter points to.
pReadbackKeyA pointer to a buffer that contains the encryption key.
When the GetEncryptionBltKey function is called, the display miniport driver should generate a new encryption key. If the cryptographic session is using the D3DCRYPTOTYPE_AES128_CTR cryptographic type, the driver or graphics adapter should encrypt the data that is referenced by the pReadbackKey parameter by using the session key with the AES-ECB algorithm.