Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

 

ISession::TestForKbUnlocked

Check if the connected session is ready for input.

 

Function TestForKbUnlocked As Long
 

No parameters

 

Return Code

Description

JGS_OK

Keyboard is unlocked and ready for input

JGS_NOTCONNECTED

Your application is not connected to a session

JGS_PSBUSY

Session is in X-Clock or X-System mode

JGS_INHIBITED

The keyboard is locked

JGS_SYSERROR

The function failed due to a system error

 

Sample Code


 

Dim result as Long
result = sess.TestForKbUnlocked
If result = JGS_OK then
...
Else
...
End If


QWS3270 Automation copyright © Jolly Giant Software Inc. All rights reserved.

  • No labels