DD_GETFORMATCOUNTDATA structure (d3dhal.h)

DirectX 8.0 and later versions only.

DD_GETFORMATCOUNTDATA is the data structure pointed to by the lpvData field of DD_GETDRIVERINFODATA for DD_GETDRIVERINFO2DATA queries with the type D3DGDI2_TYPE_GETFORMATCOUNT.

Syntax

typedef struct _DD_GETFORMATCOUNTDATA {
  DD_GETDRIVERINFO2DATA gdi2;
  DWORD                 dwFormatCount;
  DWORD                 dwReserved;
} DD_GETFORMATCOUNTDATA;

Members

gdi2

Specifies a DD_GETDRIVERINFO2DATA structure that contains the GetDriverInfo2 data.

dwFormatCount

Receives the number of supported surface formats.

dwReserved

DirectX 8.0 and 8.1 versions only. Specifies a reserved field. Driver should not read or write.

DirectX 9.0 and later versions only. Specifies the version of the DirectX runtime being used by the application. This member is set to DD_RUNTIME_VERSION, which is 0x00000900 for DirectX 9.0.

Remarks

To handle the D3DGDI2_TYPE_GETFORMATCOUNT request, the driver must store the number of DirectX 8.0 and later DDI style surface formats that it supports in the dwFormatCount member of DD_GETFORMATCOUNTDATA. For more information, see The Texture Format List.

Requirements

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

See also

DD_GETDRIVERINFO2DATA

DD_GETDRIVERINFODATA