The ilutGetHPal function returns a Windows-friendly palette. If the current bound image has a palette, ilutGetHPal returns a Windows-compatible copy of the current image's palette in HPAL format.
[Visual Basic] Public Shared Function ilutGetHPal() As IntPtr