DevIL Documentation Previous | ILUT | Next

 

ilutGetHPal

 

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.

 

HPALETTE ilutGetHPal(
  ILvoid );


Parameters

 

None


Errors

 
ILUT_ILLEGAL_OPERATION
The operation attempted is not allowable in the current state. The function returns with no ill side effects.
ILUT_OUT_OF_MEMORY
Could not allocate enough memory for the palette.

See Also

 
ilBindImage, ilGenImages, ilutConvertToHBitmap,