SHLoadDIBitmap (Windows CE 5.0)

Send Feedback

This function loads a bitmap from the specified file.

Syntax

HBITMAPSHLoadDIBitmap(LPCTSTRszFileName );

Parameters

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

Return Values

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

OS Versions: Windows CE 1.0 and later.
Header: Shellapi.h.
Link Library: Coredll.lib.

See Also

Standard Shell Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.