IDirectDrawSurface::GetFlipStatus
HRESULT GetFlipStatus(DWORD dwFlags);
Indicates whether the surface has finished its flipping process. If the surface has not finished its flipping process, it returns DDERR_WASSTILLDRAWING.
·Returns DD_OK if successful, or one of the following error values otherwise:
DDERR_INVALIDOBJECT DDERR_INVALIDPARAMS
DDERR_INVALIDSURFACETYPE DDERR_SURFACEBUSY
DDERR_SURFACELOST DDERR_UNSUPPORTED
dwFlags
Inquires whether this surface be flipped immediately. Returns DD_OK if the flip can be completed.
Inquires whether the flip done. Returns DD_OK if the last flip on this surface has completed.