DosModeUndo

From EDM2
Jump to: navigation, search

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

Return Code