Jump to content

DosModeWait: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[image:legacy.png]]
==Description==
This is a helper for performing video mode save/restore operations. This will be called by the session manager to signal the thread that does save/restore what operation is to be done.
This is a helper for performing video mode save/restore operations. This will be called by the session manager to signal the thread that does save/restore what operation is to be done.


==Syntax==
==Syntax==
<PRE>
DosModeWait (viohdl, ptr, flag)
APIRET16 Pascal far DOSMODEWAIT(short viohdl,short*ptr,short flag)
 
</PRE>
==Parameters==
==Parameters==
; viohdl : VIO Handle of the screen group  
;viohdl (short): VIO Handle of the screen group
 
;ptr (short*): a pointer to an address (to signal save/restore thread what to do?)
; ptr : a pointer to an address (to signal save/restore thread what to do?)  
;flag (short):0 do only restore
 
:1 do save and restore  
; flag
    =0 do only restore
    =1 do save and restore  


==Return Code==
==Return Code==
 
APIRET16 Pascal far
==Remarks==
 
 
==Example Code==
 
<PRE>
 
</PRE>


==Related Functions==
==Related Functions==
*  
* [[DosModeUndo]]
 


[[Category:The OS/2 API Project]]
[[Category:Dos]]

Latest revision as of 09:46, 24 November 2019

This is a helper for performing video mode save/restore operations. This will be called by the session manager to signal the thread that does save/restore what operation is to be done.

Syntax

DosModeWait (viohdl, ptr, flag)

Parameters

viohdl (short)
VIO Handle of the screen group
ptr (short*)
a pointer to an address (to signal save/restore thread what to do?)
flag (short)
0 do only restore
1 do save and restore

Return Code

APIRET16 Pascal far

Related Functions