DirectX SDK

DirectDraw7.FlipToGDISurface

The DirectDraw7.FlipToGDISurface method makes the surface that the GDI writes to the primary surface.

object.FlipToGDISurface()

Parameters

object
Object expression that resolves to a DirectDraw7 object.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to one of the following values:

DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_NOTFOUND

Remarks

This method can be called at the end of a page-flipping application to ensure that the display memory that the GDI is writing to is visible.

This method disables stereo autoflipping.

See Also

DirectDraw7.GetGDISurface