Jump to content

DosModeUndo: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
[[image:legacy.png]]
==Description==
This function is similar to DOSSAVREDRAWUNDO, but does not control a save/restore thread, but the thread to change video modes.  
This function is similar to DOSSAVREDRAWUNDO, but does not control a save/restore thread, but the thread to change video modes.  


==Syntax==
==Syntax==
<PRE>
APIRET16 Pascal far DOSMODEUNDO(short viohdl,short kill, short flag)
APIRET16 Pascal far DOSMODEUNDO(short viohdl,short kill, short flag)
 
</PRE>
==Parameters==
==Parameters==
; viohdl : VIO Handle of the screen group  
;viohdl : VIO Handle of the screen group
 
;kill
; kill
=0 send an error code to mode save/restore thread
    =0 send an error code to mode save/restore thread
=1 terminate the mode save/restore thread
    =1 terminate the mode save/restore thread  
;flag
 
=0 remain owner of the mode save/restore thread
; flag
=1 give up mode save/restore thread
    =0 remain owner of the mode save/restore thread
    =1 give up mode save/restore thread  


==Return Code==
==Return Code==


==Remarks==
[[Category:Dos]]
 
 
==Example Code==
 
<PRE>
 
</PRE>
 
==Related Functions==
*
 
 
[[Category:The OS/2 API Project]]

Revision as of 16:10, 18 February 2017

This function is similar to DOSSAVREDRAWUNDO, but does not control a save/restore thread, but the thread to change video modes.

Syntax

APIRET16 Pascal far DOSMODEUNDO(short viohdl,short kill, short flag)

Parameters

viohdl
VIO Handle of the screen group
kill
=0 send an error code to mode save/restore thread
=1 terminate the mode save/restore thread
flag
=0 remain owner of the mode save/restore thread
=1 give up mode save/restore thread

Return Code