DOKK / manpages / debian 10 / allegro5-doc / al_get_win_window_handle.3alleg5.en
al_get_win_window_handle(3alleg5) al_get_win_window_handle(3alleg5)

al_get_win_window_handle - 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.

Allegro reference manual