DosModeUndo: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:LEGACY:DosModeUndo to DosModeUndo |
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(short viohdl,short kill, short flag) | |||
APIRET16 Pascal far DOSMODEUNDO(short viohdl,short kill, short flag) | |||
==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 | ||
=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 | ||
==Return Code== | ==Return Code== | ||
[[Category:Dos]] | |||
[[Category: |
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