DosModeWait

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

Related Functions

 * DosModeUndo