Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


 

Background Color
coloryellow
ISession::TestForKbUnlocked


Check if the connected session is ready for input.

 

Background Color

...

colorblue
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


 

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



Back to ISession members


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

...