Skip to content

Latest commit

 

History

History
110 lines (72 loc) · 3.87 KB

nc-d3d10umddi-pfnd3d11ddi_recyclecreatecommandlist.md

File metadata and controls

110 lines (72 loc) · 3.87 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_RECYCLECREATECOMMANDLIST
PFND3D11DDI_RECYCLECREATECOMMANDLIST (d3d10umddi.h)
The RecycleCreateCommandList function creates a command list and makes a previously unused DDI handle completely valid again.
display\recyclecreatecommandlist.htm
05/10/2018
PFND3D11DDI_RECYCLECREATECOMMANDLIST callback function
PFND3D11DDI_RECYCLECREATECOMMANDLIST, PFND3D11DDI_RECYCLECREATECOMMANDLIST callback, RecycleCreateCommandList, RecycleCreateCommandList callback function [Display Devices], UserModeDisplayDriverDx11_Functions_ae724488-211a-4590-abcc-f2c8f954531e.xml, d3d10umddi/RecycleCreateCommandList, display.recyclecreatecommandlist
d3d10umddi.h
D3d10umddi.h
Desktop
RecycleCreateCommandList is supported beginning with the Windows 7 operating system.
Windows
display
PFND3D11DDI_RECYCLECREATECOMMANDLIST
d3d10umddi/PFND3D11DDI_RECYCLECREATECOMMANDLIST
APIRef
kbSyntax
UserDefined
d3d10umddi.h
PFND3D11DDI_RECYCLECREATECOMMANDLIST

PFND3D11DDI_RECYCLECREATECOMMANDLIST callback function

-description

The RecycleCreateCommandList function creates a command list and makes a previously unused DDI handle completely valid again.

-parameters

-param unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

-param unnamedParam2

pCreateCommandList [in]

A pointer to a D3D11DDIARG_CREATECOMMANDLIST structure that describes the parameters that the user-mode display driver uses to create a command list.

-param unnamedParam3

hCommandList [in]

A handle to the driver's private data for the command list.

-param unnamedParam4

hRTCommandList [in]

A handle to the command list that the driver should use, when it calls back into the Direct3D runtime.

-returns

RecycleCreateCommandList returns one of the following values:

Return code Description
S_OK The command list is successfully created.
E_OUTOFMEMORY RecycleCreateCommandList could not allocate memory that is required for it to complete.

-remarks

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

For more information about RecycleCreateCommandList, see Optimization for Small Command Lists.

-see-also

CalcPrivateCommandListSize

D3D11DDIARG_CREATECOMMANDLIST

D3D11DDI_DEVICEFUNCS

D3D11DDI_THREADING_CAPS

GetCaps(D3D10_2)