Jump to content

DosSMSetSessionType: Difference between revisions

From EDM2
Created page with "image:legacy.png ==Description== 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 on..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[image:legacy.png]]
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.


==Description==
==Syntax==
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.
APIRET16 Pascal far DOSSMSETSESSIONTYPE(short sessid,short type)


==Syntax==
<PRE>
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 20: Line 15:




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




[[Category:The OS/2 API Project]]
[[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