Phindows: How can my app know it is displaying via Phindows?

Does anyone know of an API with which I can tell that my Photon process is
displaying via Phindows rather than via the local display adaptor card?

Regards,
Jay Marchetti
Pittsburgh Firmware
www.pittsburghfirmware.com

“Jay Marchetti” <marchetti@pittsburghfirmware.com> wrote in message
news:982v9v$if9$2@inn.qnx.com

Does anyone know of an API with which I can tell that my Photon process is
displaying via Phindows rather than via the local display adaptor card?

first that comes in mind is that you can check regions with
Ph_INPUT_GROUP_MASK flags (usually with rids 2 & 3) and check
if the owner is a phrelay or smth else.

// wbr

Regards,
Jay Marchetti
Pittsburgh Firmware
www.pittsburghfirmware.com


Ian Zagorskih
Novosoft CyBearNet Department
Custom software development and web design since 1992
E-mail: ianzag@novosoft.ru
Phone: +7 (3832) 39-72-60, 39-72-61
Fax: +7 (3832) 39-63-58
For more visit www.novosoft-us.com

Ian M. Zagorskih <ianzag@novosoft.ru> wrote:

“Jay Marchetti” <> marchetti@pittsburghfirmware.com> > wrote in message
news:982v9v$if9$> 2@inn.qnx.com> …
Does anyone know of an API with which I can tell that my Photon process is
displaying via Phindows rather than via the local display adaptor card?


first that comes in mind is that you can check regions with
Ph_INPUT_GROUP_MASK flags (usually with rids 2 & 3) and check
if the owner is a phrelay or smth else.

… or you can use PtQuerySystemInfo() or PhQuerySystemInfo(). There
are flags in the grafx info that will tell you whether you’re running a
driver for local hardware or phrelay. (Also keep in mind that it’s
possible to be running both!)


Wojtek Lerch (wojtek@qnx.com) QNX Software Systems Ltd.

Yes, this is what I had hoped for.

However, I tried reading gfx.bandwidth but I see that the valid_fields
indicates that the gfx info is not valid. This is on a QNX4.2x system. I
tried it locally and via phrelay - same thing. Seems I cannot use this
API…

Jay

Wojtek Lerch <wojtek@qnx.com> wrote in message
news:985jd1$q05$1@nntp.qnx.com

Ian M. Zagorskih <> ianzag@novosoft.ru> > wrote:

“Jay Marchetti” <> marchetti@pittsburghfirmware.com> > wrote in message
news:982v9v$if9$> 2@inn.qnx.com> …
Does anyone know of an API with which I can tell that my Photon process
is
displaying via Phindows rather than via the local display adaptor card?


first that comes in mind is that you can check regions with
Ph_INPUT_GROUP_MASK flags (usually with rids 2 & 3) and check
if the owner is a phrelay or smth else.

… or you can use PtQuerySystemInfo() or PhQuerySystemInfo(). There
are flags in the grafx info that will tell you whether you’re running a
driver for local hardware or phrelay. (Also keep in mind that it’s
possible to be running both!)


Wojtek Lerch (> wojtek@qnx.com> ) QNX Software Systems Ltd.