DD_BLTDATA

typedef struct _DD_BLTDATA{

    PDD_DIRECTDRAW_GLOBAL        lpDD;

    PDD_SURFACE_LOCAL            lpDDDestSurface;

    RECTL                        rDest;

    PDD_SURFACE_LOCAL            lpDDSrcSurface;

    RECTL                        rSrc;

    DWORD                        dwFlags;

    DWORD                        dwROPFlags;

    DDBLTFX                      bltFX;

    HRESULT                      ddRVal;

    VOID *                       Blt;

    BOOL                         IsClipped;

    RECTL                        rOrigDest;

    RECTL                        rOrigSrc;

    DWORD                        dwRectCnt;

    LPRECT                       prDestRects;

} DD_BLTDATA;

The DD_BLTDATA structure contains all information required by a driver to perform a bit-blt. It is passed as a parameter to a driver’s Blt function.

Members

lpDD

Points to the DD_DIRECTDRAW_GLOBAL structure that describes the driver.

lpDDDestSurface

Points to the DD_SURFACE_LOCAL structure that describes the blt’s destination surface.

rDest

Describes the rectangle on the destination surface in which the blt should occur.

lpDDSrcSurface

Points to the DD_SURFACE_LOCAL structure that describes the blt’s source surface.

rSrc

Describes the rectangle on the source surface from which the blt data should be copied.

dwFlags

Bitmask that tells the driver how to perform the blt. The DDBLT_Xxx bit fields are enumerated in ddraw.h.

dwROPFlags

Specifies the ROP flags. A driver should look at this member only when handling ROPs. This field is unused by Windows NT.

bltFX

DDBLTFX structure containing override information for the Blt surface callback. The dwFillColor field is used for solid color fills, and the ddckSrcColorKey and ddckDestColorKey fields are used for color key blts.

ddRVal

Value in which the driver returns the status of a blt operation.

Blt

Unused by Windows NT.

IsClipped

Unused by Windows NT.

rOrigDest

Unused by Windows NT.

dwRectCnt

Unused by Windows NT.

prDestRect

Unused by Windows NT.