Platform SDK: DirectX

DirectDrawSurface7.GetBltStatus

The DirectDrawSurface7.GetBltStatus method obtains the blitter status.

object.GetBltStatus(flags As CONST_DDGBSFLAGS) As Long

Parameters

object
Object expression that resolves to a DirectDrawSurface7 object.
flags
One of the constants of the CONST_DDGBSFLAGS enumeration.

Return Values

If the method succeeds, depending on which constant is specified in the flags parameter, 0 is returned for False and nonzero for True.

Error Codes

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