PhQuerySystemInfo()

Query the system for information about a given region

Synopsis:

PhSysInfo_t * PhQuerySystemInfo( 
                  PhRid_t rid,
                  PhRect_t const *rect,
                  PhSysInfo_t *sysinfo );

Library:

ph

Description:

This function queries the system for information for the region with the given rid:

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.

Returns:

A pointer to the PhSysInfo_t structure passed to the function, or NULL if an error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhRect_t, PhSysInfo_t, PtQuerySystemInfo()

System information in the Regions chapter of the Photon Programmer's Guide.