Jump to content

DosModeUndo: Difference between revisions

From EDM2
Created page with "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. ==Synta..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[image:legacy.png]]
This function is similar to DOSSAVREDRAWUNDO, but does not control a save/restore thread, but the thread to change video modes.


==Description==
==Syntax==
This function is similar to DOSSAVREDRAWUNDO, but does not control a save/restore thread, but the thread to change video modes.
APIRET16 Pascal far DOSMODEUNDO(viohdl, kill, flag)


==Syntax==
<PRE>
APIRET16 Pascal far DOSMODEUNDO(short viohdl,short kill, short flag)
</PRE>
==Parameters==
==Parameters==
; viohdl : VIO Handle of the screen group  
;viohdl (short): VIO Handle of the screen group
 
;kill (short)
; 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 (short)
 
: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]]

Latest revision as of 10:04, 21 May 2018

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(viohdl, kill, flag)

Parameters

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

Return Code