|
|
|
|
|
SysDetectLockedSession (Function) In french: SysDétecteSessionVerrouillée Detects the change of lock for the Windows session. IF NOT SysDetectLockedSession() THEN Error("Failure detecting the change of lock for the Windows session.") END Syntax
<Result> = SysDetectLockedSession(<WLanguage procedure>)
<Result>: Boolean - True if the detection regarding the change of lock for the Windows session was implemented,
- False otherwise.
<WLanguage procedure>: Procedure name Name of WLanguage procedure ("callback" procedure) that will be called whenever the lock of Windows session changes. This procedure has the following format: PROCEDURE <Procedure name> (<Lock of Windows session>) <Lock of Windows session> is a constant that is a set to: | | sysSessionLocked | The Windows session is locked. | sysSessionUnlocked | The Windows session is unlocked. |
Remarks If SysDetectLockedSession is used in a service, call Multitask in the runtime code of service to receive the Windows messages.
Related Examples:
|
Unit examples (WINDEV): Managing the Windows session
[ + ] Managing the Windows session by programming with the WLanguage functions. This example explains how to close the Windows session, stop the system and restart the PC, etc.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|