DD_GETEXTENDEDMODECOUNTDATA structure (d3dhal.h)

DirectX 9.0 and later versions only.

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

Syntax

typedef struct _DD_GETEXTENDEDMODECOUNTDATA {
  DD_GETDRIVERINFO2DATA gdi2;
  DWORD                 dwModeCount;
  DWORD                 dwReserved;
} DD_GETEXTENDEDMODECOUNTDATA;

Members

gdi2

Specifies a DD_GETDRIVERINFO2DATA structure that contains the GetDriverInfo2 data for the query.

dwModeCount

Receives the number of supported extended display modes.

dwReserved

Specifies a reserved field. Driver should not read or write.

Remarks

To handle D3DGDI2_TYPE_GETEXTENDEDMODECOUNT, the driver must store the number of extended display modes that it supports in the dwModeCount member of DD_GETEXTENDEDMODECOUNTDATA. Display modes are described by D3DDISPLAYMODE structures. For more information about D3DDISPLAYMODE, see the DirectX SDK documentation.

Requirements

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

See also

DD_GETDRIVERINFO2DATA

DD_GETDRIVERINFODATA

DD_GETEXTENDEDMODEDATA