Skip to content

Latest commit

 

History

History
83 lines (56 loc) · 2.78 KB

nc-d3d10umddi-pfnd3d11ddi_abandoncommandlist.md

File metadata and controls

83 lines (56 loc) · 2.78 KB
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.PFND3D11DDI_ABANDONCOMMANDLIST
PFND3D11DDI_ABANDONCOMMANDLIST (d3d10umddi.h)
The AbandonCommandList function abandons the command list.
display\abandoncommandlist.htm
05/10/2018
PFND3D11DDI_ABANDONCOMMANDLIST callback function
AbandonCommandList, AbandonCommandList callback function [Display Devices], PFND3D11DDI_ABANDONCOMMANDLIST, PFND3D11DDI_ABANDONCOMMANDLIST callback, UserModeDisplayDriverDx11_Functions_1f9b5b27-499e-41a0-adf3-7b1c2f0021c7.xml, d3d10umddi/AbandonCommandList, display.abandoncommandlist
d3d10umddi.h
D3d10umddi.h
Desktop
AbandonCommandList is supported beginning with the Windows 7 operating system.
Windows
display
PFND3D11DDI_ABANDONCOMMANDLIST
d3d10umddi/PFND3D11DDI_ABANDONCOMMANDLIST
APIRef
kbSyntax
UserDefined
d3d10umddi.h
PFND3D11DDI_ABANDONCOMMANDLIST

PFND3D11DDI_ABANDONCOMMANDLIST callback function

-description

The AbandonCommandList function abandons the command list.

-parameters

-param unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

-remarks

The driver can use the pfnSetErrorCb callback function to set a critical error code.

After a deferred context is abandoned, the Direct3D runtime calls AbandonCommandList to abandon the command list that is associated with the deferred context. AbandonCommandList can apply state into whatever the driver prefers.

The driver is only required to implement AbandonCommandList if the driver supports the D3D11DDICAPS_COMMANDLISTS_BUILD_2 capability that can be returned in the D3D11DDI_THREADING_CAPS structure from a call to the GetCaps(D3D10_2) function.

-see-also

D3D11DDI_DEVICEFUNCS

D3D11DDI_THREADING_CAPS

GetCaps(D3D10_2)