DosStopSession - Syntax

Ends one or all child sessions.

#define INCL_dossesmgr
#include <os2.h>

ULONG     scope;      /*  An indicator that specifies whether only the session specified by idSession, or all sessions, should be ended. */
ULONG     idSession;  /*  The identifier of the session to be ended. */
APIRET    ulrc;       /*  Return code. */

ulrc = DosStopSession(scope, idSession);


[Back: DosStopSession]
[Next: DosStopSession Parameter - scope]