Sun Microsystems 800-1256-04 — Sun Microsystems 800-1256-04 SunCGI Reference Manual PDF (EN)

28 SunCGI Reference Manual 0 typedef struct { Cint numloc; Cint numval; Cint numstrk; Cint numchoice; Cint numstr; Cint numtrig; Csuptype event_queue; Csuptype asynch; Csuptype coord_map; Csuptype echo; Csuptype tracking; Csuptype prompt; Csuptype acknowledgement; Csuptype trigger_manipulation; Ccgidesctab; Elements of type Cint report how many of each type device is supported, as well as how many types of triggers are supported. Elements of type Csuptype report how many of the functions of each class are supported. All functions except the tracking functions are fully supported. Errors ENOTOPOP [5] CGI not in proper state CGI shall be either in state CGOP, VSOP, or VSAC.

0 Inquire LID Capabilities Cerror inquire_lid_capabilities(devclass, devnum, valid, table) Cdevoff devclass; Cint devnum; /* device number*/ Clogical *valid; /* device supported at all*/ Cliddescript *table; /* table of descriptors*/ inquire_input_device_capabilities describes the capabilities of a specific input device (hereafter, specified device). Toe input arguments devc/ass and devnum refer to a specific device type and number. Toe argument valid reports whether CG! is initialized.

typedef struct { Clogical sample;' Cchangetype change; Cint numassoc; Cint *trigassoc; Cinputability prompt; Cinputability acknowledgement; Cechotypelst *echo; Cchar *classdep; Cstatelist state; Cliddescript; is present in the specified logical input device. Toe change element reports o whether associations are changeable at all (all input devices except string are changeable). Toe numassoc and trigassoc elements of table report how many Toe elements of table which are of type Clogical indicate whether an ability ()~P.~~ Version C of 17 March 1986