Blt
Expand Minimize

DestroyQuery routine

The DestroyQuery function releases resources for a query.

Syntax


PFND3DDDI_DESTROYQUERY DestroyQuery;

__checkReturn HRESULT APIENTRY DestroyQuery(
  _In_  HANDLE hDevice,
  _In_  const HANDLE hQuery
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

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.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

CreateQuery
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft