Jump to content

VioScrUnLock: Difference between revisions

From EDM2
Created page with "==Description== Releases ownership of (unlocks) the physical display buffer. ==Syntax== <PRE> #define INCL_VIO #include <os2.h> HVIO VioHandle; /* VIO presentation-sp..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Description==
Releases ownership of (unlocks) the physical display buffer.
Releases ownership of (unlocks) the physical display buffer.


==Syntax==
==Syntax==
<PRE>
VioScrUnLock(VioHandle)
#define INCL_VIO
#include <os2.h>


HVIO      VioHandle;  /*  VIO presentation-space handle. */
APIRET    rc;        /*  Return code. */
rc = VioScrUnLock(VioHandle);
</PRE>
==Parameters==
==Parameters==
; VioHandle (HVIO) - input : VIO presentation-space handle.
;VioHandle (HVIO) - input : VIO presentation-space handle.
Reserved. Must be 0.
:Reserved. Must be 0.


==Return Code==
==Return Code==
;rc (APIRET) - returns:VioScrlUnLock returns one of the following values:
* 0    NO_ERROR
* 367  ERROR_VIO_UNLOCK
* 421  ERROR_VIO_INVALID_PARMS
* 430  ERROR_VIO_ILLEGAL_DURING_POPUP
* 436  ERROR_VIO_INVALID_HANDLE


rc (APIRET) - returns
VioScrlUnLock returns one of the following values:
* 0    NO_ERROR
* 367        ERROR_VIO_UNLOCK
* 421        ERROR_VIO_INVALID_PARMS
* 430        ERROR_VIO_ILLEGAL_DURING_POPUP
* 436        ERROR_VIO_INVALID_HANDLE
==Remarks==
==Remarks==
This call releases the screen lock that is set by VioScrLock. The VioScrUnLock call must be issued by the same thread that issued VioScrLock.  
This call releases the screen lock that is set by [[VioScrLock]]. The VioScrUnLock call must be issued by the same thread that issued VioScrLock.  
 
==Example Code==
<PRE>
 
</PRE>
==Related Functions==
* [[OS2 API:CPI:
 


[[Category:The OS/2 API Project]]
[[Category:Vio]]

Latest revision as of 18:06, 28 February 2017

Releases ownership of (unlocks) the physical display buffer.

Syntax

VioScrUnLock(VioHandle)

Parameters

VioHandle (HVIO) - input
VIO presentation-space handle.
Reserved. Must be 0.

Return Code

rc (APIRET) - returns
VioScrlUnLock returns one of the following values:
  • 0 NO_ERROR
  • 367 ERROR_VIO_UNLOCK
  • 421 ERROR_VIO_INVALID_PARMS
  • 430 ERROR_VIO_ILLEGAL_DURING_POPUP
  • 436 ERROR_VIO_INVALID_HANDLE

Remarks

This call releases the screen lock that is set by VioScrLock. The VioScrUnLock call must be issued by the same thread that issued VioScrLock.