Returns the current display switching mode. allegro game programming library.
#include <allegro.h>
int get_display_switch_mode();
Returns the current display switching mode, in the same format passed to set_display_switch_mode().
set_display_switch_mode(3alleg4), exswitch(3alleg4)