DirectX SDK

CONST_DDBLTFLAGS

The CONST_DDBLTFLAGS enumeration is used in the flags parameter of the DirectDrawSurface7.Blt and DirectDrawSurface7.BltFx methods to determine the valid members of the associated DDBLTFX type. The DDBLTFX type specifies color-key information or requests special behavior from the methods.

Enum CONST_DDBLTFLAGS
    DDBLT_ASYNC = 512
    DDBLT_COLORFILL = 1024
    DDBLT_DDFX = 2048
    DDBLT_DDROPS = 4096
    DDBLT_DEPTHFILL = 33554432
    DDBLT_DONOTWAIT = 134217728
    DDBLT_KEYDEST = 8192
    DDBLT_KEYDESTOVERRIDE = 16384
    DDBLT_KEYSRC = 32768
    DDBLT_KEYSRCOVERRIDE = 65536
    DDBLT_ROP = 131072
    DDBLT_ROTATIONANGLE = 262144
    DDBLT_WAIT = 16777216
End Enum
Validation flags
DDBLT_COLORFILL
Uses the lFill member of the DDBLTFX structure as the RGB color that fills the destination rectangle on the destination surface.
DDBLT_DDFX
Uses the lDDFX member of the DDBLTFX structure to specify the effects to use for this blit.
DDBLT_DDROPS
Uses the lROP member of the DDBLTFX structure to specify the raster operations (ROPS) that are not part of the Win32 API.
DDBLT_DEPTHFILL
Uses the lFill member of the DDBLTFX structure as the depth value with which to fill the destination rectangle on the destination z-buffer surface.
DDBLT_DONOTWAIT
If the blitter is busy, does not wait for the blitter to become available but returns without blitting.
DDBLT_KEYDESTOVERRIDE
Uses the ddckDestColorKey_high and ddckDestColorKey_low members of the DDBLTFX structure as the color key for the destination surface.
DDBLT_KEYSRCOVERRIDE
Uses the ddckSrcColorKey_high and ddckSrcColorKey_low members of the DDBLTFX structure as the color key for the source surface.
DDBLT_ROP
Uses the lROP member of the DDBLTFX structure for the ROP for this blit. These ROPs are the same as those defined in the Win32 API.
DDBLT_ROTATIONANGLE
Uses the lRotationAngle member of the DDBLTFX structure as the rotation angle (specified in 1/100s of a degree) for the surface.
Color key flags
DDBLT_KEYDEST
Uses the color key associated with the destination surface.
DDBLT_KEYSRC
Uses the color key associated with the source surface.
Behavior flags
DDBLT_ASYNC
Performs this blit asynchronously through the first in, first out (FIFO) hardware in the order received. If no room is available in the FIFO hardware, the call fails.
DDBLT_WAIT
Postpones the DDERR_WASSTILLDRAWING return value if the blitter is busy, and returns as soon as the blit can be set up or another error occurs.