PDD_SURFCB_SETPALETTE callback function (ddrawint.h)
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) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for