DosSMSwitch
Appearance
![]() | |
---|---|
It is recommended to use a newer replacement for this function. | |
Replacement: | |
Remarks: | This page list the older version of the function for reference. |
Request the session manager to switch to another foreground session. If PM is present, also internally call WinSetExtIdFocus. This can only be called by the shell that owns the Session Manager.
Syntax
DosSMSwitch (cmd, sessid, unknown)
Parameters
- cmd (short)
- 0 do a normal session switch
- 1 switch to the next queued session
- 2 don't save state of the current foreground session
- 3 don't restore state of current foreground session
- 4 ?
- 5 similar to 4 ?
- sessid (short)
- requested session id
- unknown (ULONG)
- must be 0
Return Code
APIRET16 Pascal far