PFND3DDDI_CREATEQUERY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_CREATEQUERY Pfnd3dddiCreatequery;

HRESULT Pfnd3dddiCreatequery(
  HANDLE hDevice,
  D3DDDIARG_CREATEQUERY *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_createquery)

PFND3DDDI_CREATEQUERY callback function

Description

The CreateQuery function creates driver-side resources for a query that the Microsoft Direct3D runtime subsequently issues for processing.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in, out]

A pointer to a D3DDDIARG_CREATEQUERY structure that identifies the query.

Return value

CreateQuery returns one of the following values:

Return code Description
S_OK The query is successfully created.
E_OUTOFMEMORY CreateQuery could not allocate the required memory for it to complete.

Remarks

The Direct3D runtime calls the user-mode display driver's CreateQuery function with a query type to create resources for a query. The user-mode display driver creates the following resources for query types:

For more information about issue query states, see D3DDDI_ISSUEQUERYFLAGS.

See also

D3DDDIARG_CREATEQUERY

D3DDDIDEVINFO_VCACHE

D3DDDI_DEVICEFUNCS

D3DDDI_ISSUEQUERYFLAGS