DirectX SDK |
The DirectDrawSurface7.GetBltStatus method obtains the blitter status.
object.GetBltStatus(flags As CONST_DDGBSFLAGS) 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 |