XLL+ Class Library (7.0)

::XllLoadBitmap

Loads a bitmap from a resource file, using the current language

HBITMAP XllLoadBitmap(
   UINT uBitmapID
);

Parameters

uBitmapID

Numeric bitmap resource identifier.

Return Value

A handle to the loaded bitmap if the function succeeds, NULL if it fails. The bitmap should be released with DeleteObject when no longer in use.

Remarks

This function loads a bitmap from a resource file, using the current language, as returned by XllGetStringLanguageID, if possible.

The bitmap should be released with DeleteObject when no longer in use.

Requirements

Header: xllres.h

See Also

Global resource functions