3 .\" Copyright \(co Digital Equipment Corporation, 1996
5 .\" Permission to use, copy, modify, distribute, and sell this
6 .\" documentation for any purpose is hereby granted without fee,
7 .\" provided that the above copyright notice and this permission
8 .\" notice appear in all copies. Digital Equipment Corporation
9 .\" makes no representations about the suitability for any purpose
10 .\" of the information in this document. This documentation is
11 .\" provided ``as is'' without express or implied warranty.
13 .\" Copyright 1999, 2005 Sun Microsystems, Inc. All Rights Reserved
15 .\" Permission is hereby granted, free of charge, to any person obtaining a
16 .\" copy of this software and associated documentation files (the "Software"),
17 .\" to deal in the Software without restriction, including without limitation
18 .\" the rights to use, copy, modify, merge, publish, distribute,
19 .\" sublicense, and/or sell copies of the Software, and to permit persons
20 .\" to whom the Software is furnished to do so, subject to the following
23 .\" The above copyright notice and this permission notice shall be
24 .\" included in all copies or substantial portions of the Software.
26 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
27 .\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
29 .\" IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
30 .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
31 .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
32 .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34 .\" Except as contained in this notice, the names of the copyright holders
35 .\" shall not be used in advertising or otherwise to promote the sale, use
36 .\" or other dealings in this Software without prior written authorization
37 .\" from said copyright holders.
39 .\" X Window System is a trademark of The Open Group.
41 .TH DPMSGetVersion __libmansuffix__ __xorgversion__ "X FUNCTIONS"
43 DPMSGetVersion \- returns the version of the DPMS extension implemented by
48 \fBcc\fR [ \fIflag\fR \&.\&.\&. ] \fIfile\fR \&.\&.\&. -\fBlXext\fR [ \fIlibrary\fR \&.\&.\&. ]
49 \&#include <X11/extensions/dpms.h>
51 .B Status DPMSGetVersion
54 Display *\fIdisplay\fP\^,
56 int *\fImajor_version\fP\^,
58 int *\fIminor_version\fP\^
65 Specifies the connection to the X server
68 Specifies the return location for the extension major version
71 Specifies the return location for the extension minor version
76 function returns the version of the Display Power Management Signaling (DPMS)
77 extension implemented by the X server. It returns a major and minor version
78 number. The major version number will be incremented for protocol incompatible
79 changes, and the minor version number will be incremented for small, upward
86 function returns TRUE when the extension is supported and values are returned.
91 function returns FALSE when the extension is not supported.
93 .BR DPMSCapable (__libmansuffix__),
94 .BR DPMSQueryExtension (__libmansuffix__)