DOKK / manpages / debian 10 / libdmx-dev / DMXQueryExtension.3.en
DMXQueryExtension(3) Library Functions Manual DMXQueryExtension(3)

DMXQueryExtension - determine if DMX is available

#include <X11/extensions/dmxext.h>

Bool DMXQueryExtension(Display *dpy,
                       int *event_basep,
                       int *error_basep);

DMXQueryExtension() determines if the DMX protocol extension is available. It will be available if the server is an Xdmx(1) server.

If the DMX protocol extension is available, event_basep and error_basep will be set to the event and error bases, respectively, and True will be returned. Otherwise, False will be returned.

DMXQueryVersion(3), DMX(3), Xdmx(1)

libdmx 1.1.4 X Version 11