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 override information to the IDirectDrawSurface::UpdateOverlaymethod.

Syntax

typedef struct _DDOVERLAYFX{ 
  DWORD 
dwSize; 
  DWORD 
dwAlphaConstBitDepth; 
  DWORD 
dwAlphaConst; 
  DDCOLORKEY 
dckDestColorkey; 
  DDCOLORKEY 
dckSrcColorkey; 
} DDOVERLAYFX,FAR *LPDDOVERLAYFX;  

Members

dwSize

Size of the structure, in bytes.

This member must be initialized before the structure is used.

dwAlphaConstBitDepth

Bit depth used to specify the alpha constant.

dwAlphaConst

Constant to use as the alpha channel.

dckDestColorkey

Destination color key override.

dckSrcColorkey

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