DosModeUndo: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:LEGACY:DosModeUndo to DosModeUndo |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
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. | |||
== | ==Syntax== | ||
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 (short) | |||
; kill | :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 | |||
; flag | :1 - give up mode save/restore thread | ||
==Return Code== | ==Return Code== | ||
[[Category:Dos]] | |||
[[Category: |
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