PFND3DDDI_PRESENT1 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_PRESENT1 Pfnd3dddiPresent1;

HRESULT Pfnd3dddiPresent1(
  HANDLE hDevice,
  D3DDDIARG_PRESENT1 *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_present1)

PFND3DDDI_PRESENT1 callback function

Description

Notifies the user-mode display driver that an application finished rendering and that all ownership of the shared resource is released, and requests that the driver display to the destination surface.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pPresentData [in]

A pointer to a D3DDDIARG_PRESENT1 structure that describes how to display to the destination surface.

Return value

Returns S_OK or an appropriate error result if the function does not complete successfully.

Remarks

The user-mode display driver must submit all partially built render data (command buffers) by calling the pfnRenderCb function. The driver must make only a single call to pfnRenderCb.

See also

D3DDDIARG_PRESENT1

pfnRenderCb