Microsoft DirectX 9.0

IDirectDraw::FlipToGDISurface

The FliptoGDISurface method makes the surface that GDI writes to the primary surface. This call is used at the end of a page-flipping application to ensure that the video memory that GDI is writing to is visible to the user.

Syntax

HRESULT FlipToGDISurface();

Parameters

This method takes no parameters.

Return Values

Value Description
DD_OK The method succeeded.
DDERR_INVALIDPARAMS One or more of the input parameters is invalid.
DDERR_INVALIDOBJECT DirectDraw received a pointer that was an invalid DirectDraw object.
DDERR_NOTFOUND Requested item was not found.

See Also