DevIL Documentation Home | Previous | Next

ilutWinLoadImage

The ilutWinLoadImage function loads an image to a Win32 bitmap.


HBITMAP ilutWinLoadImage(
  char *FileName,
  HDC hDC
);

Parameters

FileName
Name of the image file to load.
hDC
Device context the bitmap should reside in.

Remarks

ilutWinLoadImage loads an image directly to a Win32 HBITMAP, skipping the use of OpenIL image names.

Error Codes

None

See Also

ilLoadImage, ilutOglLoadImage, ilutWinSaveImage