XLL+ Class Library

::XllLoadBitmapForLocale

Loads a bitmap from a resource file, using the specified locale

[C++]
HBITMAP XllLoadBitmapForLocale(
   UINT uBitmapID,
   LCID lcid
);

Parameters

uBitmapID

Numeric bitmap resource identifier.

lcid

The locale ID of the desired locale. This can be formed using the MAKELCID(...) macro, or found using GetThreadLocale().

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 specified locale if possible.

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

Requirements

Header: xllres.h

See Also

Global resource functions