PDD_CREATEPALETTE callback function (ddrawint.h)
The DdCreatePalette callback function creates a DirectDrawPalette object for the specified DirectDraw object.
Syntax
PDD_CREATEPALETTE PddCreatepalette;
DWORD PddCreatepalette(
PDD_CREATEPALETTEDATA unnamedParam1
)
{...}
Parameters
unnamedParam1
Points to a DD_CREATEPALETTEDATA structure that contains the information necessary to create the DirectDrawPalette object.
Return value
DdCreatePalette returns one of the following callback codes:
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | ddrawint.h (include Winddi.h) |