DosSMSetSessionType

This allows the shell to change the session type. It allows to change windowed VDM sessions to FS sessions and vice versa. This can be only called by the shell that owns the session manager.

Syntax
APIRET16 Pascal far DOSSMSETSESSIONTYPE(short sessid,short type)

Parameters

 * sessid : the session id to be changed
 * type : the new type
 * =4 FS VDM session
 * =7 windowed VDM session