DD_GETFLIPSTATUSDATA

typedef struct _DD_GETFLIPSTATUSDATA{

    PDD_DIRECTDRAW_GLOBAL        lpDD;

    PDD_SURFACE_LOCAL            lpDDSurface;

    DWORD                        dwFlags;

    HRESULT                      ddRVal;

    VOID *                       GetFlipStatus;

} DD_GETFLIPSTATUSDATA;

The DD_GETFLIPSTATUSDATA structure is passed to the DirectDraw hardware interface’s GetFlipStatus surface object callback.

Members

lpDD

Pointer to the DD_DIRECTDRAW_GLOBAL structure that describes the driver.

lpDDSurface

Pointer to the DD_SURFACE_LOCAL structure that describes the surface on which the flip status query should be made.

dwFlags

Flag that tells the driver what information is being requested about the flip. The DDGFS_Xxx bit fields, enumerated in ddraw.h, are:

Value Meaning
DDGFS_CANFLIP Driver should determine whether it can perform a flip at this time.
DDGFS_ISFLIPDONE Driver should determine whether an initiated flip has completed.

ddRVal

Location in which the driver returns a DirectDraw status return code. The status codes are defined in ddraw.h.

GetFlipStatus

Unused by Windows NT.