UnlockScreenUpdate
Unlock screen update.
Declaration
Source position: videoh.inc line 117
procedure UnlockScreenUpdate;
Description
UnlockScreenUpdate decrements the screen update lock count with one if it is larger than zero. When the lock count reaches zero, the UpdateScreen will actually update the screen. No screen update will be performed as long as the screen update lock count is nonzero. This mechanism can be used to increase screen performance in case a lot of writing is done.
It is important to make sure that each call to LockScreenUpdate is matched by exactly one call to UnlockScreenUpdate
For an example, see GetLockScreenCount .
Errors
None.
See also
Name | Description |
---|---|
GetLockScreenCount | Get the screen lock update count. |
LockScreenUpdate | Prevent further screen updates. |
UpdateScreen | Update physical screen with internal screen image. |