scope (ULONG) - input
Possible values are shown in the following list:
idSession (ULONG) - input
The value specified for idSession must have been returned on a previous call to DosStartSession. idSession is ignored if scope is equal to STOP_SESSION_ALL.
ulrc (APIRET) - returns
DosStopSession returns one of the following values: