// d3dhal.h
typedef struct _DD_DXVERSION {
DD_GETDRIVERINFO2DATA gdi2;
DWORD dwDXVersion;
DWORD dwReserved;
} DD_DXVERSION;
View the official Windows Driver Kit DDI referenceNo description available.
DirectX 8.0 and later versions only.
DD_DXVERSION describes the current DirectX runtime version.
gdi2Specifies a DD_GETDRIVERINFO2DATA structure that contains the GetDriverInfo2 data.
dwDXVersionSpecifies 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.
dwReservedReserved. Driver should not read or write.
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.