Export (0) Print
Expand All
Expand Minimize

GetEncryptionBltKey function

Queries the key that is used to decrypt the data returned by the EncryptionBlt(D3D11_1) function.


VOID APIENTRY* GetEncryptionBltKey(
  _In_   D3D10DDI_HDEVICE hDevice,
  _In_   D3D11_1DDI_HCRYPTOSESSION hCryptoSession,
  _Out_  UINT KeySize,
  _Out_  VOID *pReadbackKey


hDevice [in]

A handle to the display device (graphics context).

hCryptoSession [in]

A handle to the cryptographic session that was created in a call to the driver's CreateCryptoSession function.

KeySize [out]

The size, in bytes, of the encryption key that the pReadBackKey parameter points to.

pReadbackKey [out]

A pointer to a buffer that contains the encryption key.

Return value

This function does not return a value.


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.


Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012


D3d10umddi.h (include D3d10umddi.h)

See also




Send comments about this topic to Microsoft

© 2014 Microsoft