NAME
XmuLookupCloseDisplayHook — get currently registered close display callback function.
SYNOPSIS
#include <X11/Xmu/CloseHook.h>
Bool XmuLookupCloseDisplayHook(display, handle, func, arg)
Display ∗display;
CloseHook handle;
int(∗func)();
caddr_t arg;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
handleSpecifies the callback by ID, or NULL.
funcSpecifies the callback by function.
argSpecifies the function data to match.
DESCRIPTION
XmuLookupCloseDisplayHook determines if a callback is registered. If handle is not NULL, it specifies the callback to look for, and the func and arg parameters are ignored. If handle is NULL, the function will look for any callback that matches the specified func and arg. This function returns True if a matching callback exists, or otherwise False.
SEE ALSO
XmuAddCloseDisplayHook, XmuRemoveCloseDisplayHook.
Xlib Reference Manual