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.
A version of this page is also available for
4/8/2010

This structure passes raster operations, effects, and override information to the IDirectDrawSurface::Bltmethod.

Syntax

typedef struct _DDBLTFX{ 
  DWORD 
dwSize; 
  DWORD 
dwROP; 
  DWORD 
dwFillColor; 
  DDCOLORKEY 
ddckDestColorkey; 
  DDCOLORKEY 
ddckSrcColorkey; 
} DDBLTFX,FAR* LPDDBLTFX; 

Members

dwSize

Size of the structure, in bytes.

This member must be initialized before the structure is used.

dwROP

Microsoft® Win32® raster operations. You can retrieve a list of supported raster operations by calling the IDirectDraw::GetCapsmethod.

dwFillColor

Color used to fill a surface when DDBLT_COLORFILL is specified. This value must be a pixel appropriate to the pixel format of the destination surface. For a palletized surface it would be a palette index, and for a 16-bit RGB surface it would be a 16-bit pixel value.

ddckDestColorkey

Destination color key override.

ddckSrcColorkey

Source color key override.

Requirements

Header ddraw.h
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later