1DMXQueryVersion(3)         Library Functions Manual         DMXQueryVersion(3)
2
3
4

NAME

6       DMXQueryVersion - determine DMX extension version
7

SYNOPSIS

9       #include <X11/extensions/dmxext.h>
10
11       Bool DMXQueryVersion(Display *dpy,
12                            int *major_version,
13                            int *minor_version,
14                            int *patch_version);
15

DESCRIPTION

17       DMXQueryVersion()  returns  version  information about the DMX protocol
18       extension.
19
20       Any incompatible changes to the protocol will be indicated by a  change
21       in  major_version.   Small, upward-compatible changes will be indicated
22       by a change in minor_version.  In general, patch_version is for  infor‐
23       mational  purposes  and will encode the date of the last protocol revi‐
24       sion (e.g., 20040604).
25

RETURN VALUE

27       If the DMX protocol extension is available,  major_version,  minor_ver‐
28       sion, and patch_version will be set, and True will be returned.  Other‐
29       wise, False will be returned.
30

NOTES

32       At the time of this writing, the DMX protocol is at version 2.2.
33
34       Version 2.2 was the final development version, and code supporting this
35       version  was  submitted to upstream X server repositories in the summer
36       of 2004.
37
38       Version 1.5 was the last of the 1.x series, which was used for develop‐
39       ment before screen and input addition and removal were supported.  Ver‐
40       sion 2.0 and 2.1 were development  versions  that  partially  supported
41       screen and input addition and removal.
42
43       Since  we do not expect development versions to be widely used, we rec‐
44       ommend that any software that uses the DMX protocol extension  to  sup‐
45       port  only  versions 2.2 and above (although they should detect earlier
46       versions and either reduce functionality or fail gracefully).
47

SEE ALSO

49       DMXQueryExtension(3), DMX(3), Xdmx(1)
50
51
52
53X Version 11                     libdmx 1.1.3               DMXQueryVersion(3)
Impressum