DosModeWait: Difference between revisions
Appearance
Created page with "image:legacy.png ==Description== This is a helper for performing video mode save/restore operations. This will be called by the session manager to signal the thread that ..." |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This is a helper for performing video mode save/restore operations. This will be called by the session manager to signal the thread that does save/restore what operation is to be done. | This is a helper for performing video mode save/restore operations. This will be called by the session manager to signal the thread that does save/restore what operation is to be done. | ||
==Syntax== | ==Syntax== | ||
DosModeWait (viohdl, ptr, flag) | |||
==Parameters== | ==Parameters== | ||
; viohdl : VIO Handle of the screen group | ;viohdl (short): VIO Handle of the screen group | ||
;ptr (short*): a pointer to an address (to signal save/restore thread what to do?) | |||
; ptr : a pointer to an address (to signal save/restore thread what to do?) | ;flag (short):0 do only restore | ||
:1 do save and restore | |||
; flag | |||
==Return Code== | ==Return Code== | ||
APIRET16 Pascal far | |||
==Related Functions== | ==Related Functions== | ||
* | * [[DosModeUndo]] | ||
[[Category: | [[Category:Dos]] |
Latest revision as of 09:46, 24 November 2019
This is a helper for performing video mode save/restore operations. This will be called by the session manager to signal the thread that does save/restore what operation is to be done.
Syntax
DosModeWait (viohdl, ptr, flag)
Parameters
- viohdl (short)
- VIO Handle of the screen group
- ptr (short*)
- a pointer to an address (to signal save/restore thread what to do?)
- flag (short)
- 0 do only restore
- 1 do save and restore
Return Code
APIRET16 Pascal far