D3DDDIARG_ENCRYPTIONBLT structure (d3dumddi.h)

The D3DDDIARG_ENCRYPTIONBLT structure describes the parameters of an encrypted bit-block transfer (bitblt) in a call to the EncryptionBlt function.

Syntax

typedef struct _D3DDDIARG_ENCRYPTIONBLT {
  [in]  HANDLE hCryptoSession;
  [in]  HANDLE hSrcResource;
  [in]  UINT   SrcSubResourceIndex;
  [in]  HANDLE hDstResource;
  [in]  UINT   DstSubResourceIndex;
  [in]  UINT   DstResourceSize;
  [out] VOID   *pIV;
} D3DDDIARG_ENCRYPTIONBLT;

Members

[in] hCryptoSession

A handle to the encryption session.

[in] hSrcResource

A handle to the source resource.

[in] SrcSubResourceIndex

The index to the source surface within the resource.

[in] hDstResource

A handle to the destination resource.

[in] DstSubResourceIndex

The index to the destination surface within the resource.

[in] DstResourceSize

The size, in bytes, of the destination resource.

[out] pIV

A pointer to a block of memory in which EncryptionBlt returns the initialization vector that is required to decrypt the bitblt data. If pIV is NULL, hardware does not require a separate key to decrypt the data that is read back.

Requirements

Requirement Value
Minimum supported client D3DDDIARG_ENCRYPTIONBLT is supported beginning with the Windows 7 operating system.
Header d3dumddi.h (include D3dumddi.h)

See also

EncryptionBlt