al_win_remove_window_callback(3)

al_win_remove_window_callback3

Allegro 5 api

Usage

#include <allegro5/allegro_windows.h>
bool al_win_remove_window_callback(ALLEGRO_DISPLAY *display,
   bool (*callback)(ALLEGRO_DISPLAY *display, UINT message, WPARAM wparam,
   LPARAM lparam, LRESULT *result, void *userdata), void *userdata)

Overview

Removes the callback that was previously registered with al_win_add_window_callback(3). The userdata pointer must be the same as what was used during the registration of the callback.

Returns true if the callback was removed.

Since

5.1.2

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.