Article 152710 of comp.os.vms:
alan.grunwald@vf.vodafone.co.uk wrote:
: 	I was hoping to be able to get this information via $GETJPI - don't
: really know why, or what I'd want to use it for, but it would be nice to
: be able to access this kind of stuff from a program. Is that possible ?

You'll have to further rely on undocumented features (like it is with
SHOW DISPLAY/SYMBOL). I saved a post by Stephen 'Hoff' Hoffman some time
ago dealing with that. Here comes:

  There are undocumented and unsupported itemcodes that one can `aim' at
  the `DECW$DEVICE' (WSAn:) device.  The core C code looks like this:

    #define IO$M_WS_DISPLAY         64
    #define DECW$C_WS_DSP_NODE       1
    #define DECW$C_WS_DSP_TRANSPORT  2
    #define DECW$C_WS_DSP_SERVER     3
    #define DECW$C_WS_DSP_SCREEN     4

    RetStat = sys$qiow( Ef, Chan, IO$_SENSEMODE|IO$M_WS_DISPLAY, IosbPtr,
      0, 0, NodeBufferPtr, NodeBufferSize, DECW$C_WS_DSP_NODE, 0, 0, 0 );

  The Digital Customer Support Centers (CSCs) should have one or more full
  example programs available online.

  Standard disclaimers apply: this interface is undocumented, unsupported
  and subject to change without notice, etc.


Hope it helps,
  Martin
--
                              |  Martin Vorlaender | VMS programmer
  "UNIX is user friendly.     |  work: mv@pdv-systeme.de
   It's just selective about  |  home: martin@radiogaga.harz.de
   who its friends are."      |        http://www.harz.de/~martin/
-------------------------------- HAM Radio: dk9ah@db0dni.#nds.deu.eu


