Jump to content

DosModeUndo

From EDM2
Revision as of 19:02, 12 January 2017 by Ak120 (talk | contribs) (Ak120 moved page OS2 API:CPI:LEGACY:DosModeUndo to DosModeUndo)

Description

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 

Return Code

Remarks

Example Code


Related Functions