Bewerken

Delen via


D3DDDIARG_CREATECRYPTOSESSION structure (d3dumddi.h)

The D3DDDIARG_CREATECRYPTOSESSION structure describes an encryption session to create.

Syntax

typedef struct _D3DDDIARG_CREATECRYPTOSESSION {
  [in]     GUID   CryptoType;
           GUID   DecodeProfile;
  [in/out] HANDLE hCryptoSession;
} D3DDDIARG_CREATECRYPTOSESSION;

Members

[in] CryptoType

A GUID that indicates the encryption type, which the driver uses for the encryption session that the driver's CreateCryptoSession function creates. The GUID can be one of the following:

D3DCRYPTOTYPE_AES128_CTR

A GUID that indicates the 128 bit AES-CRT block cipher.

D3DCRYPTOTYPE_PROPRIETARY

A GUID that indicates a proprietary encryption algorithm.

DecodeProfile

[in] A GUID that indicates the DirectX Video Acceleration (DirectX VA) decode profile that the driver uses for the encryption session that the driver's CreateCryptoSession function creates. The driver uses this decode profile in conjunction with the encryption type that the CryptoType member specifies.

[in/out] hCryptoSession

A handle to the encryption session. The user-mode display driver must set this handle to a value that the Microsoft Direct3D runtime can use to identify the encryption session in subsequent calls.

Requirements

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

See also

CreateCryptoSession