MCPcopy Create free account
hub / github.com/DentonW/DevIL / ILAPIENTRY ilutWinLoadImage

Function ILAPIENTRY ilutWinLoadImage

DevIL/src-ILUT/src/ilut_win32.cpp:348–359  ·  view source on GitHub ↗

Just a convenience function.

Source from the content-addressed store, hash-verified

346
347//! Just a convenience function.
348HBITMAP ILAPIENTRY ilutWinLoadImage(ILstring FileName, HDC hDC)
349{
350 HBITMAP Bitmap;
351
352 iBindImageTemp();
353 if (!ilLoadImage(FileName))
354 return 0;
355
356 Bitmap = ilutConvertToHBitmap(hDC);
357
358 return Bitmap;
359}
360
361
362#ifndef _WIN32_WCE

Callers

nothing calls this directly

Calls 1

iBindImageTempFunction · 0.85

Tested by

no test coverage detected