pfnPresent1(D3D) routine

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.

Syntax


PFND3DDDI_PRESENT1 pfnPresent1;

__checkReturn HRESULT* pfnPresent1(
  _In_       HANDLE             *hDevice,
  _In_ const D3DDDIARG_PRESENT1 *pPresentData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Target platform

Version

WDDM 1.3 and later

Header

D3dumddi.h (include D3d10umddi.h)

See also

pfnRenderCb
D3DDDIARG_PRESENT1

 

 

Send comments about this topic to Microsoft

Show: