The SHLoadDIBitmap function loads a bitmap from the specified file.
HBITMAP SHLoadDIBitmap(LPCTSTR szFileName);
Header file: | Winuser.h |
Platforms: | H/PC |
Versions: | 1.0 and later |
If the function succeeds, the return value is the handle to the bitmap loaded from the file, otherwise the return value is NULL.