DirectX SDK

DirectDrawSurface7.GetFlipStatus

The DirectDrawSurface7.GetFlipStatus method indicates whether the surface has finished its flipping process.

object.GetFlipStatus(flags As CONST_DDGFSFLAGS) As Long

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.
flags
One of the constants of the CONST_DDGFSFLAGS enumeration.

Return Values

If the method succeeds, depending on which constant is specified in the flags parameter, 0 is returned for False and nonzero for True.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to DDERR_WASSTILLDRAWING if the surface has not finished its flipping process, or one of the following values:

DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_INVALIDSURFACETYPE
DDERR_SURFACEBUSY
DDERR_SURFACELOST
DD_OK
DDERR_UNSUPPORTED

See Also

DirectDrawSurface7.Flip