summaryrefslogtreecommitdiff
path: root/man/DMXQueryVersion.man
blob: 8f4446941ee95cd924422ed9eb775bd6beb97555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.\" Copyright 2004 Red Hat Inc., Durham, North Carolina.
.\" All Rights Reserved.
.\"
.\" Permission is hereby granted, free of charge, to any person obtaining
.\" a copy of this software and associated documentation files (the
.\" "Software"), to deal in the Software without restriction, including
.\" without limitation on the rights to use, copy, modify, merge,
.\" publish, distribute, sublicense, and/or sell copies of the Software,
.\" and to permit persons to whom the Software is furnished to do so,
.\" subject to the following conditions:
.\"
.\" he above copyright notice and this permission notice (including the
.\" next paragraph) shall be included in all copies or substantial
.\" portions of the Software.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
.\" NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
.\" BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
.\" ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
.\" CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
.\" SOFTWARE.
.TH DMXQueryVersion __libmansuffix__ __vendorversion__
.SH NAME
DMXQueryVersion \- determine DMX extension version
.SH SYNOPSIS
.B #include <X11/extensions/dmxext.h>
.sp
.nf
.BI "Bool DMXQueryVersion(Display " *dpy ,
.BI "                     int " *major_version ,
.BI "                     int " *minor_version ,
.BI "                     int " *patch_version );
.fi
.SH DESCRIPTION
.B DMXQueryVersion()
returns version information about the DMX protocol extension.
.PP
Any incompatible changes to the protocol will be indicated by
a change in
.IR major_version .
Small, upward-compatible changes will be indicated by a change in
.IR minor_version .
In general,
.I patch_version
is for informational purposes and will encode the date of the last
protocol revision (e.g., 20040604).
.SH "RETURN VALUE"
If the DMX protocol extension is available,
.IR major_version ,
.IR minor_version ,
and
.I patch_version
will be set, and
.B True
will be returned.  Otherwise,
.B False
will be returned.
.SH NOTES
At the time of this writing, the DMX protocol is at version 2.2.
.PP
Version 2.2 was the final development version, and code supporting this
version was submitted to upstream X server repositories in the summer of
2004.
.PP
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 versions that partially supported
screen and input addition and removal.
.PP
Since we do not expect development versions to be widely used, we
recommend that any software that uses the DMX protocol extension to
support only versions 2.2 and above (although they should detect earlier
versions and either reduce functionality or fail gracefully).
.SH "SEE ALSO"
.BR DMXQueryExtension "(__libmansuffix__), "
.BR DMX "(__libmansuffix__), " Xdmx (1)