Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!agate!eos!amelia!mckie From: mckie@amelia.nas.nasa.gov (William McKie) Newsgroups: comp.graphics Subject: SunPHIGS inquire wks state value Message-ID: <7209@amelia.nas.nasa.gov> Date: 8 Jul 90 23:54:03 GMT Reply-To: mckie@amelia.nas.nasa.gov (William McKie) Distribution: usa Organization: NASA Ames Research Center, Moffett Field, CA Lines: 22 We recently had use for knowing whether a particular PHIGS workstation was currently open or not, and we located the INQUIRE WORKSTATION STATE VALUE routine in the SunPHIGS 1.1 manual (p 675). However, there appears to be no way to tell this routine which workstation we are asking about, as there is no workstation id argument in the argument list, only the argument for the returned state of some workstation. E.g. In C, the call is: pinqwsst( ws_state ) Pwsstate *ws_state; In fortran, the call is: call pqwkst( wksta ) integer wksta How do we use this routine to inquire about a specific workstation? Thanks, -Bill McKie mckie@sky.arc.nasa.gov