DosModeWait: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:LEGACY:DosModeWait to DosModeWait |
mNo edit summary |
||
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== | ||
* | * | ||
[[Category:Dos]] | |||
[[Category: |
Revision as of 02:53, 24 February 2017
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