win12.hlp (Table of Contents; Topic list)
WinGetSysBitmap (1.2)
Function Group  Overview  Changes               Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINPOINTERS
 
HBITMAP WinGetSysBitmap(hwndDesktop, ibm)
HWND hwndDesktop;    /* handle of the desktop      */
USHORT ibm;          /* index of the system bitmap */
 
The WinGetSysBitmap function returns a handle to one of the standard bitmaps
provided by the system. This bitmap can be used for any of the normal bitmap
operations. When your application is done with the bitmap, it should free it
by calling GpiDeleteBitmap.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
hwndDesktop  Identifies the desktop window. This parameter can be
             HWND_DESKTOP or the desktop window handle.
 
ibm          Specifies the system-bitmap index value. For a list of possible
             values, see the Standard bitmaps topic.
 
Return Value
 
The return value is a handle to a bitmap, or it is NULL if an error occurs.
 
See Also
 
GpiDeleteBitmap, WinDrawBitmap