DosModeUndo: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
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== | ||
APIRET16 Pascal far DOSMODEUNDO( | 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 | |||
:1 - terminate the mode save/restore thread | |||
;flag | ;flag (short) | ||
:0 - remain owner of the 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