This function removes a specified entry from the Window List.
#define INCL_WINSWITCHLIST /* Or use INCL_WIN, INCL_PM, Also in COMMON section */ #include <os2.h> HSWITCH hswitchSwitch; /* Switch-list (Window List) entry handle. */ ULONG usRetCode; /* Success indicator. */ usRetCode = WinRemoveSwitchEntry(hswitchSwitch);