// d3dumddi.h
PFND3DDDI_DESTROYQUERY Pfnd3dddiDestroyquery;
HRESULT Pfnd3dddiDestroyquery(
HANDLE hDevice,
const HANDLE
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DestroyQuery function releases resources for a query.
hDeviceA handle to the display device (graphics context).
HANDLEhQuery [in]
A handle to the query that the CreateQuery function created.
DestroyQuery returns S_OK or an appropriate error result if the resources are not released.
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.