al_win_remove_window_callback(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_win_remove_window_callback(3alleg5) β€” Allegro 5 API πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#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)

πŸ’– DESCRIPTION πŸ’–

Okay bestie, listen. This function removes the callback that was previously registered with al_win_add_window_callback(3alleg5). 🫢

The userdata pointer must be the same as what was used during the registration of the callback. Like, the exact same pointer, no glow-up, no swap, same vibe. πŸ‘‘

Returns true if the callback was removed. That's it, that's the tea. ✨


🌸 SINCE 🌸

5.1.2 β€” iconic since day one, fr fr. πŸŽ€


source: Allegro reference manual Β· manual name: al_win_remove_window_callback(3alleg5) Β· date: not listed in the footer, bestie πŸ’–

πŸ“¦ where this page comes from