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 DdSetPalette callback function attaches a palette to the specified surface.
Syntax
PDD_SURFCB_SETPALETTE PddSurfcbSetpalette;
DWORD PddSurfcbSetpalette(
PDD_SETPALETTEDATA unnamedParam1
)
{...}
Parameters
unnamedParam1
Points to a DD_SETPALETTEDATA structure that contains the information required to set a palette to the specified surface.
Return value
DdSetPalette returns one of the following callback codes:
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | ddrawint.h (include Winddi.h) |