Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The DDHAL_BLTDATAstructure contains the information relevant to doing blits. This structure passes the information to the DirectDraw HAL Bltcallback function.
typedef struct _DDHAL_BLTDATA { LPDDRAWI_DIRECTDRAW_GBL lpDD ; LPDDRAWI_DDRAWSURFACE_LCL lpDDDestSurface ; RECTL rDest ; LPDDRAWI_DDRAWSURFACE_LCL lpDDSrcSurface ; RECTL rSrc ; DWORD dwFlags ; DWORD dwROPFlags ; DDBLTFX bltFX ; HRESULT ddRVal ; LPDDHALSURFCB_BLT Blt ; BOOL IsClipped ; RECTL rOrigDest ; RECTL rOrigSrc ; DWORD dwRectCnt ; LPRECT prDestRects ; } DDHAL_BLTDATA;
Members
Flag | Usage |
---|---|
DDBLT_ASYNC | Do this blit asynchronously through the FIFO in the order received. If no room exists in the hardware FIFO, fail the call. Drivers should ignore this flag and always schedule blits asynchronously whenever possible. |
DDBLT_COLORFILL | Uses the dwFillColormember in the DDBLTFXstructure as the RGB color with which to fill the destination rectangle on the destination surface. |
DDBLT_DDFX | Uses the dwDDFXmember in the DDBLTFXstructure to specify the effects to use for the blit. |
DDBLT_DDROPS | Uses the dwDDROPSmember in the DDBLTFXstructure to specify the raster operations that are not part of the Win32 API. |
DDBLT_KEYDESTOVERRIDE | Use the dckDestColorkeymember in the DDBLTFXstructure as the color key for the destination surface. If an override is not being set, then dckDestColorkeydoes not contain the color key. The driver should test the surface itself. |
DDBLT_KEYSRCOVERRIDE | Use the dckSrcColorkeymember in the DDBLTFXstructure as the color key for the source surface. If an override is not being set, then dckDestColorkeydoes not contain the color key. The driver should test the surface itself. |
DDBLT_ROP | Use the dwROPmember in the DDBLTFXstructure for the raster operation for this blit. These ROPs are the same as the ones defined in the Win32 API. |
DDBLT_ROTATIONANGLE | Use the dwRotationAnglemember in the DDBLTFXstructure as the angle (specified in 1/100th of a degree) to rotate the surface. |
DDBLT_WAIT | Do not return immediately with the DDERR_WASSTILLDRAWING message if the blitter is busy wait until the blit can be set up or another error occurs. |
Flag | Usage |
---|---|
ROP_HAS_PATTERN | Indicates the raster operation has a pattern. |
ROP_HAS_SOURCE | Indicates the raster operation has a source. |
ROP_HAS_SOURCEPATTERN | Indicates the raster operation has a source and a pattern. |
Last updated on Tuesday, July 13, 2004