Jump to content

DosSavRedrawUndo: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[image:legacy.png]]
This will allow some code that originally called [[DosSavRedrawWait]] to stop save/restore operation, and/or kill the save/restore thread.


==Description==
==Syntax==
This will allow some code that originally called DOSSAVREDAWWAIT to stop save/restore operation, and/or kill the save/restore thread.
DOSSAVREDRAWUNDO(short viohdl,short kill, short flag)


==Syntax==
<PRE>
APIRET16 Pascal far DOSSAVREDRAWUNDO(short viohdl,short kill, short flag)
</PRE>
==Parameters==
==Parameters==
; viohdl : VIO Handle of the screen group  
; viohdl (short): VIO Handle of the screen group
 
; kill (short)
; kill
:0 send an error code to save/restore thread
    =0 send an error code to save/restore thread
:1 terminate the save/restore thread
    =1 terminate the save/restore thread  
; flag (short)
 
:0 remain owner of the save/restore thread
; flag
:1 give up save/restore thread
    =0 remain owner of the save/restore thread
    =1 give up save/restore thread  


==Return Code==
==Return Code==
APIRET16 Pascal far


==Remarks==
[[Category:Dos]]
 
 
==Example Code==
 
<PRE>
 
</PRE>
 
==Related Functions==
*
 
 
[[Category:The OS/2 API Project]]

Latest revision as of 10:08, 21 May 2018

This will allow some code that originally called DosSavRedrawWait to stop save/restore operation, and/or kill the save/restore thread.

Syntax

DOSSAVREDRAWUNDO(short viohdl,short kill, short flag)

Parameters

viohdl (short)
VIO Handle of the screen group
kill (short)
0 send an error code to save/restore thread
1 terminate the save/restore thread
flag (short)
0 remain owner of the save/restore thread
1 give up save/restore thread

Return Code

APIRET16 Pascal far