win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinQuerySwitchEntry (1.2)
Overview                                            Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINSWITCHLIST
 
USHORT WinQuerySwitchEntry(hSwitch, pswctl)
HSWITCH hSwitch;    /* item handle                       */
PSWCNTRL pswctl;    /* point to structure with item data */
 
The WinQuerySwitchEntry function obtains a copy of the Task List data for a
specific application.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hSwitch    Identifies the Task List item.
 
pswctl     Points to the SWCNTRL data structure that contains information
           about the specified Task List item.
 
Return Value
 
The return value is zero if the function is successful. Otherwise, it is an
error value, which may be the following:
 
    PMERR_INVALID_SWITCH_HANDLE
 
See Also
 
WinQuerySwitchHandle, SWCNTRL