BOOL LoadBitmap( const char FAR* lpBitmapName );
BOOL LoadBitmap( UINT nIDBitmap );
lpBitmapName
Points to a null-terminated string that contains the name of the bitmap resource.
nIDBitmap
Specifies the resource ID number of the bitmap resource.
Loads the bitmap resource named by lpBitmapName or identified by the ID number in nIDBitmap from the application's executable file. The loaded bitmap is attached to the CBitmap object.
If the bitmap identified by lpBitmapName does not exist or if there is insufficient memory to load the bitmap, the function returns FALSE.
TRUE if successful; otherwise FALSE.
CBitmap::LoadOEMBitmap, ::LoadBitmap