This method of the DirectDrawSurface Class indicates whether the surface has finished its flipping process.
public int getFlipStatus(int flags);
Returns DD_OK if successful, or DDERR_WASSTILLDRAWING if the surfaces has not finished its flipping process.
flags | One value of DDGFS_ type. |