SHLoadDIBitmap (Windows Embedded CE 6.0)

1/6/2010

This function loads a bitmap from the specified file.

Syntax

HBITMAP SHLoadDIBitmap(
  LPCTSTR szFileName 
);

Parameters

  • szFileName
    [in] Null-terminated string that contains the fully qualified path and file name that the bitmap will be loaded from.

Return Value

If the function succeeds, the return value is the handle to the bitmap loaded from the file; otherwise, the return value is NULL.

Remarks

The application should call the DeleteObject function when the bitmap is no longer needed.

Requirements

Header shellapi.h
Library coredll.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Standard Shell Functions