typedef struct _DD_UPDATEOVERLAYDATA {
PDD_DIRECTDRAW_GLOBAL lpDD;
PDD_SURFACE_LOCAL lpDDDestSurface;
RECTL rDest;
PDD_SURFACE_LOCAL lpDDSrcSurface;
RECTL rSrc;
DWORD dwFlags;
DDOVERLAYFX overlayFX;
HRESULT ddRVal;
VOID * UpdateOverlay;
} DD_UPDATEOVERLAYDATA;
The DD_UPDATEOVERLAYDATA structure is passed to the DirectDraw hardware interface’s UpdateOverlay surface object callback.
|
Value |
Meaning |
|
DDOVER_HIDE |
The driver should hide the overlay surface. |
|
DDOVER_SHOW |
The driver should show the overlay surface using the attributes specified by overlayFX. |
|
DDOVER_KEYDEST |
The driver should use the color key associated with the destination surface by SetColorKey. |
|
DDOVER_KEYDESTOVERRIDE |
The driver should use the destination color key specified by overlayFX.dckDestColorKey. |
|
DDOVER_KEYSRC |
The driver should use the color key associated with the destination surface by SetColorKey. |
|
DDOVER_KEYSRCOVERRIDE |
The driver should use the source color key specified by overlayFX.dckSrcColorKey. |