This function adds an entry to the Window List. This is a list of running programs that is displayed to the user by the operating system.

#define INCL_WINSWITCHLIST /* Or use INCL_WIN, INCL_PM, Also in COMMON section */
#include <os2.h>

SWCNTRL    swctlSwitchData;  /*  Switch data. */
HSWITCH    hswitchSwitch;    /*  Handle to the newly created Window List entry. */

hswitchSwitch = WinAddSwitchEntry(swctlSwitchData);


[Back] [Next]