Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DdSetColorKey callback function sets the color key value for the specified surface.
Syntax
PDD_SURFCB_SETCOLORKEY PddSurfcbSetcolorkey;
DWORD PddSurfcbSetcolorkey(
PDD_SETCOLORKEYDATA unnamedParam1
)
{...}
Parameters
unnamedParam1
Points to a DD_SETCOLORKEYDATA structure that contains the information required to set the color key for the specified surface.
Return value
DdSetColorKey returns one of the following callback codes:
Remarks
DdSetColorKey sets the source or destination color key for the specified surface. Typically, this callback is implemented only for drivers that support overlays with color key capabilities.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | ddrawint.h (include Winddi.h) |