IDirectDrawSurface::GetBltStatus
HRESULT GetBltStatus(DWORD dwFlags);
Obtains the blitter status. This method returns DD_OK if a blitter is present, DDERR_WASSTILLDRAWING if the blitter is busy, or DDERR_NOBLTHW if there is no blitter.
·Returns DD_OK if successful, or one of the following error values otherwise:
DDERR_INVALIDOBJECT | DDERR_INVALIDPARAMS |
DDERR_NOBLTHW | DDERR_SURFACEBUSY |
DDERR_SURFACELOST | DDERR_UNSUPPORTED |
DDERR_WASSTILLDRAWING |
dwFlags
Inquires whether a blit involving this surface can occur immediately. Returns DD_OK if the blit can be completed.
Inquires whether the blit is done. Returns DD_OK if the last blit on this surface has completed.