Jump to content

DosModeUndo: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
{{Legacy
This function is similar to DOSSAVREDRAWUNDO, but does not control a save/restore thread, but the thread to change video modes.
|RepFunc=
|Remarks=This page list the older version of the function for reference.
}}
This function is similar to DOSSAVREDRAWUNDO, but does not control a save/restore thread, but the thread to change video modes.  


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


==Parameters==
==Parameters==
;viohdl : VIO Handle of the screen group
;viohdl (short): VIO Handle of the screen group
;kill
;kill (short)
=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
;flag (short)
=0 remain owner of the mode save/restore thread
:0 - remain owner of the mode save/restore thread
=1 give up mode save/restore thread
:1 - give up mode save/restore thread


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


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

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