Allegro 5 api
#include <allegro5/allegro_windows.h> HWND al_get_win_window_handle(ALLEGRO_DISPLAY *display)
Returns the handle to the window that the passed display is using.