Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_dev_get_meminfo.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_dev_get_meminfo.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_dev_get_meminfo.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_dev_get_meminfo.html on line 8
Return information about a device's memory usage
#include <gf/gf.h>
int gf_dev_get_meminfo( gf_dev_t gdev,
gf_mem_info_t * info) ;
- gdev
- The handle for the graphics device to query. This is the handle acquired by gf_dev_attach().
- info
- A gf_mem_info_t structure that the function fills in with information (see below).
gf
This function fills in a gf_mem_info_t structure with information about a device's memory usage.
The gf_mem_info_t structure contains at least these members:
- unsigned total_mem
- The total number of bytes available to aperture.
- unsigned avail_mem
- The number of unallocated bytes available to aperture.
- GF_ERR_OK
- Success.
- GF_ERR_IODISPLAY
- Unable to talk to io-display.
QNX Graphics Framework
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
gf_dev_attach()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_dev_get_meminfo.html on line 140
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_dev_get_meminfo.html on line 140