function WinPalette(P: TPalette32): HPALETTE;
The provided TPalette32 fixed-size buffer of color values is converted into the Win32 API equivalent HPALETTE handle definition of a palette with 256 32-bit color entries.
[See Also] Color32