Allows a parent session to switch one of its child sessions to the foreground.
#define INCL_dossesmgr #include <os2.h> ULONG idSession; /* The identifier of the session to be switched to the foreground. */ APIRET ulrc; /* Return Code. */ ulrc = DosSelectSession(idSession);