PFND3DDDI_DESTROYQUERY - NtDoc

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

PFND3DDDI_DESTROYQUERY Pfnd3dddiDestroyquery;

HRESULT Pfnd3dddiDestroyquery(
  HANDLE hDevice,
  const HANDLE
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

PFND3DDDI_DESTROYQUERY callback function

Description

The DestroyQuery function releases resources for a query.

Parameters

hDevice

A handle to the display device (graphics context).

HANDLE

hQuery [in]

A handle to the query that the CreateQuery function created.

Return value

DestroyQuery returns S_OK or an appropriate error result if the resources are not released.

Remarks

The DestroyQuery function notifies the driver to destroy the query handle that the CreateQuery function previously created. The driver can then release resources that are associated with the query handle.

See also

CreateQuery

D3DDDI_DEVICEFUNCS