DirectX SDK |
The DirectDrawSurface7.GetFlipStatus method indicates whether the surface has finished its flipping process.
object.GetFlipStatus(flags As CONST_DDGFSFLAGS) As Long
If the method succeeds, depending on which constant is specified in the flags parameter, 0 is returned for False and nonzero for True.
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 |