DD_FLIPTOGDISURFACEDATA structure (ddrawint.h)

The DD_FLIPTOGDISURFACEDATA structure contains the GDI surface notification information.

Syntax

typedef struct _DD_FLIPTOGDISURFACEDATA {
  PDD_DIRECTDRAW_GLOBAL lpDD;
  DWORD                 dwToGDI;
  DWORD                 dwReserved;
  HRESULT               ddRVal;
  VOID                  *FlipToGDISurface;
} *PDD_FLIPTOGDISURFACEDATA, DD_FLIPTOGDISURFACEDATA;

Members

lpDD

Points to the DD_DIRECTDRAW_GLOBAL structure that describes the driver's device.

dwToGDI

Indicates that Microsoft DirectDraw is flipping to a GDI surface when TRUE; indicates that DirectDraw is flipping from a GDI surface when FALSE.

dwReserved

Reserved for system use and should be ignored by the driver.

ddRVal

Specifies the location in which the driver writes the return value of the DdFlipToGDISurface callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

FlipToGDISurface

Used by the DirectDraw API and should not be filled in by the driver.

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

DdFlipToGDISurface