MirOS Manual: DMXQueryVersion(3)


DMXQueryVersion(3X) UNIX Programmer's Manual  DMXQueryVersion(3X)

NAME

     DMXQueryVersion - determine DMX extension version

SYNOPSIS

     #include <X11/extensions/dmxext.h>

     Bool DMXQueryVersion(Display *dpy,
                          int *major_version,
                          int *minor_version,
                          int *patch_version);

DESCRIPTION

     DMXQueryVersion() returns version information about the DMX
     protocol extension.

     Any incompatible changes to the protocol will be indicated
     by a change in major_version. Small, upward-compatible
     changes will be indicated by a change in minor_version. In
     general, patch_version is for informational purposes and
     will encode the date of the last protocol revision (e.g.,
     20040604).

RETURN VALUE

     If the DMX protocol extension is available, major_version,
     minor_version, and patch_version will be set, and True will
     be returned.  Otherwise, False will be returned.

NOTES

     At the time of this writing, the DMX protocol is at version
     2.2.

     Version 2.2 was the final development version, and code sup-
     porting this version was submitted to upstream X server
     repositories in the summer of 2004.

     Version 1.5 was the last of the 1.x series, which was used
     for development before screen and input addition and removal
     were supported. Version 2.0 and 2.1 were development ver-
     sions that partially supported screen and input addition and
     removal.

     Since we do not expect development versions to be widely
     used, we recommend that any software that uses the DMX pro-
     tocol extension to support only versions 2.2 and above
     (although they should detect earlier versions and either
     reduce functionality or fail gracefully).

SEE ALSO

     DMXQueryExtension(3X), DMX(3X), Xdmx(1)

XFree86                   Version 4.5.0                         1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.