Jump to content

DosSMSetSessionType: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
{{Legacy
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.
|RepFunc=
|Remarks=This page list the older version of the function for reference.
}}
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==
==Syntax==
<PRE>
APIRET16 Pascal far DOSSMSETSESSIONTYPE(short sessid,short type)
APIRET16 Pascal far DOSSMSETSESSIONTYPE(short sessid,short type)
 
</PRE>
==Parameters==
==Parameters==
; sessid : the session id to be changed  
;sessid : the session id to be changed
 
;type : the new type
; type : the new type
:=4 FS VDM session
    =4 FS VDM session
:=7 windowed VDM session  
    =7 windowed VDM session  


==Return Code==
==Return Code==
Line 21: Line 15:




==Example Code==
==Example Code==  
 
<PRE>
 
</PRE>
 
==Related Functions==
*




[[Category:Dos]]
[[Category:Dos]]

Latest revision as of 23:18, 7 June 2019

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

Return Code

Remarks

Example Code