PDD_FLIPTOGDISURFACE callback function (ddrawint.h)

The DdFlipToGDISurface callback function notifies the driver when DirectDraw is flipping to or from a GDI surface.

Syntax

PDD_FLIPTOGDISURFACE PddFliptogdisurface;

DWORD PddFliptogdisurface(
  PDD_FLIPTOGDISURFACEDATA unnamedParam1
)
{...}

Parameters

unnamedParam1

Points to a DD_FLIPTOGDISURFACEDATA structure that contains the notification information.

Return value

DdFlipToGDISurface returns one of the following callback codes:

Remarks

DdFlipToGDISurface can be implemented in drivers with hardware that needs to be enabled or disabled, depending on whether a GDI surface is being flipped to.

Requirements

Requirement Value
Target Platform Desktop
Header ddrawint.h (include Winddi.h)

See also

DD_FLIPTOGDISURFACEDATA