GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GQLCS GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|||||||||||||
Purpose
Function: To inquire locator device state. Inquiry function. Returns the state of a specified locator device, from the workstation state list of a workstation. Parameters wkid (specified by user) (fullword integer)
lcdnr (specified by user) (fullword integer)
type (specified by user) (fullword integer)
mldr (specified by user) (fullword integer)
errind (returned by GDDM) (fullword integer)
mode (returned by GDDM) (fullword integer)
esw (returned by GDDM) (fullword integer)
tnr (returned by GDDM) (fullword integer)
ipx (returned by GDDM) (short floating point) ipy (returned by GDDM) (short floating point)
pet (returned by GDDM) (fullword integer)
earea (returned by GDDM) (array of short floating-point numbers)
ldr (returned by GDDM) (fullword integer)
datrec (returned by GDDM) (array of 80-byte character tokens)
Operating states WSOP, WSAC, SGOP Related functions Unpack data record (GURECS), Initialize locator (GINLC) Description If the inquired information is available, it is returned as output, and errind is returned as 0 (zero). If the inquired information is not available, all output is invalid, and errind returns an error indicator. The Unpack data record (GURECS) utility is available to unpack the data record returned by GQLCS. The parameter mldr reserves space for the data record returned by the inquiry. If you do not specify sufficient length to accommodate the data record, GKS issues error 2001 in errind, and the function terminates to protect the program from a memory error. Usually, a maximum length of 80 (mldr = 1) is sufficient. Principal errors
|
Copyright IBM Corporation 1990, 2012 |