DD_DXVERSION structure (d3dhal.h)

DirectX 8.0 and later versions only.

DD_DXVERSION describes the current DirectX runtime version.

Syntax

typedef struct _DD_DXVERSION {
  DD_GETDRIVERINFO2DATA gdi2;
  DWORD                 dwDXVersion;
  DWORD                 dwReserved;
} DD_DXVERSION;

Members

gdi2

Specifies a DD_GETDRIVERINFO2DATA structure that contains the GetDriverInfo2 data.

dwDXVersion

Specifies the version of DirectX. This member is set to DD_RUNTIME_VERSION, which is 0x00000700 for DirectX 7.0 and 0x00000800 for DirectX 8.0.

dwReserved

Reserved. Driver should not read or write.

Remarks

This information is provided to a new driver (one that exposes GetDriverInfo2) for DX7 and DX8 applications.

The runtime provides a pointer to a DD_DXVERSION structure in the lpvData field of the DD_GETDRIVERINFODATA data structure.

The gdi2 member of DD_DXVERSION is used by the runtime with type D3DGDI2_TYPE_DXVERSION specified to notify the driver of the current DirectX runtime version being used by the application.

Requirements

Requirement Value
Header d3dhal.h (include D3dhal.h)

See also

DD_GETDRIVERINFO2DATA

DD_GETDRIVERINFODATA