DosScrLock: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:LEGACY:DosScrLock to DosScrLock |
mNo edit summary |
||
Line 1: | Line 1: | ||
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. | ||
==Syntax== | ==Syntax== | ||
DOSSCRLOCK(short wait,UCHAR* rc) | |||
==Parameters== | ==Parameters== | ||
; wait | ; wait | ||
Line 18: | Line 14: | ||
==Return Code== | ==Return Code== | ||
APIRET16 Pascal far | |||
==Remarks== | ==Remarks== | ||
==Example Code== | ==Example Code== | ||
==Related Functions== | ==Related Functions== | ||
* | * | ||
[[Category: | [[Category:Dos]] |
Revision as of 03:09, 24 February 2017
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