How do you get the video adapter number in use by a given display?
Each adapter represents a monitor.
You can get the primary display by searching for the monitor at 0,0.
To get a specific monitor, you need it's coordinates.
See al_get_monitor_info for details.
How would I get the needed information from an ALLEGRO_DISPLAY?
You don't. The adapter set is the one specified by al_set_new_display_adapter, which defaults to 0.
Rather, just call al_get_new_display_adapter and al_get_monitor_info.
I am not sure that's true because my program is starting on my secondary display.
Adapter 0 is not guaranteed to be the primary display.
I see. Thanks.