Translate page

VBS_Get Session (Method)

Function VBS_GetSessions(buffer As Variant) As Long

 

Parameters

NoNameTypeOptionalDefaultDescription
1bufferVariantNo-

Buffer to hold the session information
On return from a successful call, the buffer will contain the following information for each active session:
Byte 1: one character session ID
Byte 2-9: long session ID.  QWS3270 does not use a long session name so these bytes will always be 0
Byte 10: Session Type: H for Host; P for personal computer
Bytes 11-12: Size of the screen expressed as a binary number (not ASCI).I

Return Code

Description

JGS_OK

Success

JGS_MEMORY

Not enough memory

JGS_SYSERROR

The function failed due to a system error

Sample Code


Back to IApplication members


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

Â