swctlSwitchData (SWCNTRL) - input
Contains information about the newly created Window List entry.
If the szSwtitle field of the SWCNTRL structure is 0, the system uses the name under which the application is started. This only applies for the first call to this function since the program started. Otherwise, a NULL entry name is invalid.
The title is truncated, if necessary, to 60 characters.
If the hprog field of the SWCNTRL structure is NULLHANDLE, the value used by the system when the program was loaded (if it has been loaded) is substituted.
If the idProcess field of the SWCNTRL structure is 0, the current process ID is used.
If the idSession field of the SWCNTRL structure is 0, the current session ID is used.
If the hwndIcon field of the SWCNTRL structure is NULLHANDLE, the system supplies a default icon.
hswitchSwitch (HSWITCH) - returns
There is a system limit to the number of Window List entries. However, this is a large number (several hundred) and is unlikely to be reached in practice because other system limits, such as memory size, restrict the number before this limit is reached.
NULLHANDLE