GpiRealizeColorTable
Appearance
Undocumented function.
This function appears 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 = GpiRealizeColorTable( hps, lPalette, ulNewSize)
Parameters
- hps (HPS) - input
- The handle to the presentation space.
- lPalette (LONG) - input
- The handle or identifier of the palette to be resized.
- ulNewSize (ULONG ) - input
- The new number of entries the palette should contain.
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).