VioScrUnLock

From EDM2
Revision as of 16:06, 28 February 2017 by Ak120 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.