IDirectDrawSurface::GetFlipStatus
Microsoft DirectShow 9.0 |
IDirectDrawSurface::GetFlipStatus
The GetFlipStatus method returns OK if the surface that it is called on has finished its flipping process, otherwise it returns WASSTILLDRAWING.
Syntax
gs
Parameters
dwFlags
One of the following flags.
Value | Description |
DDGFS_CANFLIP | Queries whether the surface can flip now. The method returns DD_OK if the flip can be completed. |
DDGFS_ISFLIPDONE | Queries whether the flip is done. The method returns DD_OK if the last flip on this surface has completed. |
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_SURFACELOST | Access to this surface is being refused because the surface memory is gone. The DirectDrawSurface object representing this surface should have Restore called on it. |
DDERR_UNSUPPORTED | Action not supported. |
DDERR_WASSTILLDRAWING | Informs DirectDraw that the previous Blt which is transfering information to or from this Surface is incomplete. |
DDERR_SURFACEBUSY | Access to this surface is being refused because the surface is already locked by another thread. |
See Also