Partager via


DDBLTFX (Compact 2013)

3/26/2014

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

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::GetCaps method.
  • 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

See Also

Reference

DirectDraw Structures
DirectDraw Reference

Other Resources

DirectDraw