DD_GETFLIPSTATUSDATA structure (ddrawint.h)

The DD_GETFLIPSTATUSDATA structure returns the flip status information.

Syntax

typedef struct _DD_GETFLIPSTATUSDATA {
  PDD_DIRECTDRAW_GLOBAL lpDD;
  PDD_SURFACE_LOCAL     lpDDSurface;
  DWORD                 dwFlags;
  HRESULT               ddRVal;
  VOID                  *GetFlipStatus;
} *PDD_GETFLIPSTATUSDATA, DD_GETFLIPSTATUSDATA;

Members

lpDD

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

lpDDSurface

Points to a DD_SURFACE_LOCAL structure that describes the surface whose flip status is being queried.

dwFlags

Specifies the flip status being requested. This member can be one of the following values:

Flag Meaning
DDGFS_CANFLIP Queries whether the driver can currently perform a flip.
DDGFS_ISFLIPDONE Queries whether the driver has finished the last flip.

ddRVal

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

GetFlipStatus

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

Requirements

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

See also

DdGetFlipStatus