Jump to content

DosScrLock: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
Line 1: Line 1:
{{Legacy
|RepFunc=
|Remarks=This page list the older version of the function for reference.
}}
This allows a process to lock the screen exclusively for itself, until it is DOSSCRUNLOCKed again. Other sessions will be sent into background, if they also request the screen.  
This allows a process to lock the screen exclusively for itself, until it is DOSSCRUNLOCKed again. Other sessions will be sent into background, if they also request the screen.  



Revision as of 03:50, 16 September 2017

Legacy Function Warning
It is recommended to use a newer replacement for this function.
Replacement:
Remarks: This page list the older version of the function for reference.

This allows a process to lock the screen exclusively for itself, until it is DOSSCRUNLOCKed again. Other sessions will be sent into background, if they also request the screen.

Syntax

DOSSCRLOCK(short wait,UCHAR* rc)

Parameters

wait
   =0 return directly
   =1 wait until screen is available 
rc
   =0 lock succeeded
   =1 lock failed 

Return Code

APIRET16 Pascal far

Remarks

Example Code

Related Functions