Jump to content

GpiResizePalette

From EDM2

Undocumented function.

This function seems to be intended for internal system usage, likely when the display driver needs to reconfigure the color hardware dynamically—for example, if the system switches between different color depths or when an application's specific palette requirements change due to window focus changes.

Syntax

rc = GpiResizePalette( hpal, newsize)

Parameters

hpal (HPAL) - input
newsize (ULONG) - input

Returns

rc (BOOL) - returns
Success indicator.
TRUE
Successful completion, if the resize operation was successful.
FALSE
Error occurred, if the operation failed (for instance, if the hardware cannot support the requested size).