Bewerken

Delen via


DD_GETD3DQUERYCOUNTDATA structure (d3dhal.h)

DirectX 9.0 and later versions only.

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

Syntax

typedef struct _DD_GETD3DQUERYCOUNTDATA {
  DD_GETDRIVERINFO2DATA gdi2;
  DWORD                 dwNumQueries;
} DD_GETD3DQUERYCOUNTDATA;

Members

gdi2

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

dwNumQueries

Receives the number of supported query types.

Remarks

To handle D3DGDI2_TYPE_GETD3DQUERYCOUNT, the driver must store the number of query types that it supports in the dwNumQueries member of DD_GETD3DQUERYCOUNTDATA. Query types are represented by values in the D3DQUERYTYPE enumeration.

Requirements

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

See also

D3DDP2OP_CREATEQUERY

DD_GETD3DQUERYDATA

DD_GETDRIVERINFO2DATA

DD_GETDRIVERINFODATA