|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Query the system for information about a given region
PhSysInfo_t * PhQuerySystemInfo( PhRid_t rid, PhRect_t const *rect, PhSysInfo_t *sysinfo );
This function queries the system for information for the region with the given rid:
- system bandwidth
- graphics drivers and their capabilities
- pointing devices
- keyboard devices
The information is stored in the PhSysInfo_t structure pointed to by sysinfo. Photon reports information about itself and system regions that intersect the rectangular area specified by the PhRect_t structure pointed to by rect. If rect is NULL, the area is the extent of the given region.
A pointer to the PhSysInfo_t structure passed to the function, or NULL if an error occurred.
“System information” in the Regions chapter of the Photon Programmer's Guide.