1al_get_monitor_info(3) al_get_monitor_info(3)
2
3
4
6 al_get_monitor_info - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 bool al_get_monitor_info(int adapter, ALLEGRO_MONITOR_INFO *info)
12
14 Get information about a monitor's position on the desktop. adapter is
15 a number from 0 to al_get_num_video_adapters()-1.
16
17 On Windows, use al_set_new_display_flags(3) to switch between Direct3D
18 and OpenGL backends, which will often have different adapters availā
19 able.
20
21 Returns true on success, false on failure.
22
24 ALLEGRO_MONITOR_INFO(3), al_get_num_video_adapters(3)
25
26
27
28Allegro reference manual al_get_monitor_info(3)