DDBLTBATCH

typedef struct _DDBLTBATCH{

LPRECT lprDest;

LPDIRECTDRAWSURFACE lpDDSSrc;

LPRECT lprSrc;

DWORD dwFlags;

LPDDBLTFX lpDDBltFx;

} DDBLTBATCH,FAR *LPDDBLTBATCH;

Passes blit operations to the IDirectDrawSurface::BltBatch method.

lprDest

Address of a RECT structure that defines the destination for the blit.

lpDDSSrc

Address of a DirectDrawSurface that will be the source of the blit.

lprSrc

Address of a RECT structure that defines the source rectangle of the blit.

dwFlags

Specifies the optional control flags.

DDBLT_ALPHADEST

Uses either the alpha information in the pixel format or the alpha channel surface attached to the destination surface as the alpha channel for this blit.

DDBLT_ALPHADESTCONSTOVERRIDE

Uses the dwAlphaDestConst member in the DDBLTFX structure as the alpha channel for the destination surface for this blit.

DDBLT_ALPHADESTNEG

The NEG suffix indicates that the destination surface becomes more transparent as the alpha value increases (0 is opaque).

DDBLT_ALPHADESTSURFACEOVERRIDE

Uses the lpDDSAlphaDest member in the DDBLTFX structure as the alpha channel for the destination surface for this blit.

DDBLT_ALPHAEDGEBLEND

Uses the dwAlphaEdgeBlend member in the DDBLTFX structure as the alpha channel for the edges of the image that border the colors of the color key.

DDBLT_ALPHASRC

Uses either the alpha information in the pixel format or the alpha channel surface attached to the source surface as the alpha channel for this blit.

DDBLT_ALPHASRCCONSTOVERRIDE

Uses the dwAlphaSrcConst member in the DDBLTFX structure as the alpha channel for the source for this blit.

DDBLT_ALPHASRCNEG

The NEG suffix indicates that the source surface becomes more transparent as the alpha value increases (0 is opaque).

DDBLT_ALPHASRCSURFACEOVERRIDE

Uses the lpDDSAlphaSrc member in the DDBLTFX structure as the alpha channel for the source for this blit.

DDBLT_ASYNC

Processes this blit asynchronously through the FIFO hardware in the order received. If there is no room in the FIFO hardware, the call fails.

DDBLT_COLORFILL

Uses the dwFillColor member in the DDBLTFX structure as the RGB color with which to fill the destination rectangle on the destination surface.

DDBLT_DDFX

Uses the dwDDFX member in the DDBLTFX structure to specify the effects to be used for this blit.

DDBLT_DDROPS

Uses the dwDDROPS member in the DDBLTFX structure to specify the raster operations that are not part of the Win32 API.

DDBLT_KEYDEST

Uses the color key associated with the destination surface.

DDBLT_KEYDESTOVERRIDE

Uses the dckDestColorkey member in the DDBLTFX structure as the color key for the destination surface.

DDBLT_KEYSRC

Uses the color key associated with the source surface.

DDBLT_KEYSRCOVERRIDE

Uses the dckSrcColorkey member in the DDBLTFX structure as the color key for the source surface.

DDBLT_ROP

Uses the dwROP member in the DDBLTFX structure for the raster operation for this blit. The raster operations are the same as those defined in the Win32 API.

DDBLT_ROTATIONANGLE

Uses the dwRotationAngle member in the DDBLTFX structure as the rotation angle (specified in 1/100th of a degree) for the surface.

DDBLT_ZBUFFER

A z-buffered blit using the z-buffers attached to the source and destination surfaces and the dwZBufferOpCode member in the DDBLTFX structure as the z-buffer opcode.

DDBLT_ZBUFFERDESTCONSTOVERRIDE

A z-buffered blit using the dwZDestConst and dwZBufferOpCode members in the DDBLTFX structure as the z-buffer and z-buffer opcode, respectively, for the destination.

DDBLT_ZBUFFERDESTOVERRIDE

A z-buffered blit using the lpDDSZBufferDest and dwZBufferOpCode members in the DDBLTFX structure as the z-buffer and z-buffer opcode, respectively, for the destination.

DDBLT_ZBUFFERSRCCONSTOVERRIDE

A z-buffered blit using the dwZSrcConst and dwZBufferOpCode members in the DDBLTFX structure as the z-buffer and z-buffer opcode, respectively, for the source.

DDBLT_ZBUFFERSRCOVERRIDE

A z-buffered blit using the lpDDSZBufferSrc and dwZBufferOpCode members in the DDBLTFX structure as the z-buffer and z-buffer opcode, respectively, for the source.

lpDDBltFx

Address of a DDBLTFX structure specifying additional blit effects.