UID | title | description | old-location | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | tech.root | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3d10umddi.PFND3D10DDI_DESTROYQUERY |
PFND3D10DDI_DESTROYQUERY (d3d10umddi.h) |
The DestroyQuery(D3D10) function destroys the specified query object. The query object can be destroyed only if it is not currently bound to a display device. |
display\destroyquery_d3d10_.htm |
05/10/2018 |
|
DestroyQuery, DestroyQuery callback function [Display Devices], PFND3D10DDI_DESTROYQUERY, PFND3D10DDI_DESTROYQUERY callback, UserModeDisplayDriverDx10_Functions_9c0fdf87-a47b-45b5-9ec9-5c307d412c9c.xml, d3d10umddi/DestroyQuery, display.destroyquery_d3d10_ |
d3d10umddi.h |
D3d10umddi.h |
Desktop |
Available in Windows Vista and later versions of the Windows operating systems. |
Windows |
display |
|
|
|
|
|
The DestroyQuery(D3D10) function destroys the specified query object. The query object can be destroyed only if it is not currently bound to a display device.
hDevice [in]
A handle to the display device (graphics context).
hQuery [in]
A handle to the driver's private data for the query object to destroy. The Microsoft Direct3D runtime will free the memory region that it previously allocated for the object. Therefore, the driver can no longer access this memory region.
The driver can use the pfnSetErrorCb callback function to set an error code.
The driver should not encounter any error, except for D3DDDIERR_DEVICEREMOVED. Therefore, if the driver passes any error, except for D3DDDIERR_DEVICEREMOVED, in a call to the pfnSetErrorCb function, the Direct3D runtime will determine that the error is critical. Even if the device was removed, the driver is not required to return D3DDDIERR_DEVICEREMOVED; however, if device removal interfered with the operation of DestroyQuery(D3D10) (which typically should not happen), the driver can return D3DDDIERR_DEVICEREMOVED.