How to Get Video Driver Data in Photon

Hi,

I need to get video driver info in Photon using API call, such as screen
size, colors. There is one Photon library call PhQuerySystemInfo(), I looked
at it, it seems no screen size infomation in returned structure PhSysInfo_t
from this call. Any one knows how to do this?

Thanks,
Jim Nie

jim_nie <jim_nie@email.msn.com> wrote:

Hi,

I need to get video driver info in Photon using API call, such as screen
size, colors. There is one Photon library call PhQuerySystemInfo(), I looked
at it, it seems no screen size infomation in returned structure PhSysInfo_t
from this call. Any one knows how to do this?

PhWindowQueryVisible() can give you the size of the current
console (along other things). The example in the Photon 1.14
Library reference manual does just that.


Norbert Black
QSSL Training Services