Jump to content

DosScrLock

From EDM2
Revision as of 15:54, 25 September 2016 by Martini (talk | contribs) (Created page with "image:legacy.png ==Description== This allows a process to lock the screen exclusively for itself, until it is DOSSCRUNLOCKed again. Other sessions will be sent into backg...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

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

APIRET16 Pascal far 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

Remarks

Example Code


Related Functions