// d3d12umddi.h
PFND3D12DDI_PRESENT_0051 Pfnd3d12ddiPresent0051;
VOID Pfnd3d12ddiPresent0051(
D3D12DDI_HCOMMANDLIST unnamedParam1,
D3D12DDI_HCOMMANDQUEUE unnamedParam2,
const D3D12DDIARG_PRESENT_0001 *unnamedParam3,
D3D12DDI_PRESENT_0051 *unnamedParam4,
D3D12DDI_PRESENT_CONTEXTS_0051 *unnamedParam5,
D3D12DDI_PRESENT_HWQUEUES_0051 *unnamedParam6
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The PFND3D12DDI_PRESENT_0051 callback function copies content from source allocations to a primary surface (and sometimes to off-screen system memory allocations).
unnamedParam1A handle to the driver's data for the command list.
unnamedParam2A handle the driver's data for the command queue.
unnamedParam3Pointer to a D3D12DDIARG_PRESENT_0001 structure that contains arguments.
unnamedParam4Pointer to a D3D12DDI_PRESENT_0051 structure that contains arguments for this callback.
unnamedParam5Pointer to a D3D12DDI_PRESENT_CONTEXTS_0051 structure.
unnamedParam6Pointer to a D3D12DDI_PRESENT_HWQUEUES_0051 structure.
//Declaration
PFND3D12DDI_PRESENT_0051 Pfnd3d12ddiPresent0051;
// Definition
VOID Pfnd3d12ddiPresent0051
(
D3D12DDI_HCOMMANDLIST Arg1
D3D12DDI_HCOMMANDQUEUE Arg2
CONST D3D12DDIARG_PRESENT_0001 *
D3D12DDI_PRESENT_0051 *
D3D12DDI_PRESENT_CONTEXTS_0051 *
D3D12DDI_PRESENT_HWQUEUES_0051 *
)
{...}
The PFND3D12DDI_PRESENT_0051 callback function split the output arguments into ones that are relevant for the command queue involved. For software scheduled command queues, the driver provides contexts. For hardware scheduled command queues, the driver provides hardware queues.