DevIL Documentation Home | Previous | Next

ilutGetBmpInfo

The ilutGetBmpInfo function fills a bitmap info struct.


ILvoid ilutGetBmpInfo(
  BITMAPINFO *Info
);

Parameters

Info
BITMAPINFO struct pointer to be filled.

Remarks

ilutGetBmpInfo fills a BITMAPINFO struct with the current image's information. The BITMAPINFO struct is used commonly in Windows applications.

Error Codes

ILUT_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.

See Also

ilGenImages, ilBindImage