Sets the status of a child session.
#define INCL_dossesmgr #include <os2.h> ULONG idSession; /* The identifier of the target session. */ PSTATUSDATA psd; /* A pointer to the STATUSDATA which contains the session status data. */ APIRET ulrc; /* Return code. */ ulrc = DosSetSession(idSession, psd);