Query the current display mode
#include <gf/gf.h> int gf_display_query( gf_dev_t gdev, unsigned display_index, gf_display_info_t *info );
gf
This function queries the current mode of the display specified by display_index on a graphics device. A device typically drives one display, although some hardware is fitted with multiple displays, each of which you can query to via this function.
The info argument contains information about the attached display. See gf_display_info_t in gf_display_attach() for a description of this structure.
QNX Graphics Framework
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
gf_display_attach(), gf_display_query_mode(), gf_display_set_mode()