![]() |
---|
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 DDOVERLAYFXstructure passes override information to the IDirectDrawSurface5::UpdateOverlaymethod.
typedef struct _DDOVERLAYFX{ DWORD dwSize ; DWORD dwAlphaEdgeBlendBitDepth ; DWORD dwAlphaEdgeBlend ; DWORD dwReserved ; DWORD dwAlphaDestConstBitDepth ; union { DWORD dwAlphaDestConst ; LPDIRECTDRAWSURFACE lpDDSAlphaDest ; } DUMMYUNIONNAMEN(1); DWORD dwAlphaSrcConstBitDepth ; union { DWORD dwAlphaSrcConst ; LPDIRECTDRAWSURFACE lpDDSAlphaSrc ; } DUMMYUNIONNAMEN(2); DDCOLORKEY dckDestColorkey ; DDCOLORKEY dckSrcColorkey ; DWORD dwDDFX ; DWORD dwFlags ; } DDOVERLAYFX,FAR *LPDDOVERLAYFX;
Members
DDOVERFX_ARITHSTRETCHY | If stretching, use arithmetic stretching along the y-axis for this overlay. |
DDOVERFX_MIRRORLEFTRIGHT | Mirror the overlay around the vertical axis. |
DDOVERFX_MIRRORUPDOWN | Mirror the overlay around the horizontal axis. |
Remarks
The unions in this structure have been updated to work with compilers that don't support nameless unions. If your compiler doesn't support nameless unions, define the NONAMELESSUNION token before including the Ddraw.h header file.
Requirements
Runs on | Versions | Declared in |
---|---|---|
Windows CE OS | 2.12 or later. Version 2.12 requires DXPAK 1.0 or later. | ddraw.h |