PFND3DDDI_PRESENTMULTIPLANEOVERLAY callback function

Called by the Microsoft Direct3D runtime to notify the user-mode display driver that an application finished rendering and requests that the driver display the source surface by either copying or flipping or that the driver perform a color-fill operation. Must be implemented by Windows Display Driver Model (WDDM) 1.3 or later drivers that support multiplane overlays.

Syntax

PFND3DDDI_PRESENTMULTIPLANEOVERLAY Pfnd3dddiPresentmultiplaneoverlay;

HRESULT Pfnd3dddiPresentmultiplaneoverlay(
  HANDLE hDevice,
  const D3DDDIARG_PRESENTMULTIPLANEOVERLAY *Arg2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

Arg2

pPresent [in]

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

Return Value

If this routine succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

When the user-mode display driver successfully completes its processing of a call to this function, it presents the source surface to the display by calling the pfnPresentMultiPlaneOverlayCb (D3D) function.

Requirements

   
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See Also

D3DDDIARG_PRESENTMULTIPLANEOVERLAY

pfnPresentMultiPlaneOverlayCb (D3D)