man-pages/man3/DPMSGetVersion.3.html
2021-03-31 01:06:50 +01:00

102 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DPMSGetVersion</TITLE>
</HEAD><BODY>
<H1>DPMSGetVersion</H1>
Section: X FUNCTIONS (3)<BR>Updated: libXext 1.3.4<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
DPMSGetVersion - returns the version of the DPMS extension implemented by
the X server
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<PRE>
<B>cc</B> [ <I>flag</I> ... ] <I>file</I> ... -<B>lXext</B> [ <I>library</I> ... ]
#include &lt;<A HREF="file:///usr/include/X11/extensions/dpms.h">X11/extensions/dpms.h</A>&gt;
<DL COMPACT>
<DT id="1"><B>Status DPMSGetVersion</B>
(
<DD> Display *<I>display</I>,
<DD> int *<I>major_version</I>,
<DD> int *<I>minor_version</I>
);
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DL>
</PRE><A NAME="lbAD">&nbsp;</A>
<H2>ARGUMENTS</H2>
<DL COMPACT>
<DT id="2"><I>display</I>
<DD>
<DD>Specifies the connection to the X server
<DT id="3"><I>major_version</I>
<DD>
Specifies the return location for the extension major version
<DT id="4"><I>minor_version</I>
<DD>
Specifies the return location for the extension minor version
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
The
<I>DPMSGetVersion</I>
function returns the version of the Display Power Management Signaling (DPMS)
extension implemented by the X server. It returns a major and minor version
number. The major version number will be incremented for protocol incompatible
changes, and the minor version number will be incremented for small, upward
compatible changes.
<A NAME="lbAF">&nbsp;</A>
<H2>RETURN VALUES</H2>
<DL COMPACT>
<DT id="5">TRUE<DD>
The
<I>DPMSGetVersion</I>
function returns TRUE when the extension is supported and values are returned.
<DT id="6">FALSE<DD>
The
<I>DPMSGetVersion</I>
function returns FALSE when the extension is not supported.
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?3+DPMSCapable">DPMSCapable</A></B>(3),
<B><A HREF="/cgi-bin/man/man2html?3+DPMSQueryExtension">DPMSQueryExtension</A></B>(3)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
<DT id="8"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="9"><A HREF="#lbAD">ARGUMENTS</A><DD>
<DT id="10"><A HREF="#lbAE">DESCRIPTION</A><DD>
<DT id="11"><A HREF="#lbAF">RETURN VALUES</A><DD>
<DT id="12"><A HREF="#lbAG">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:39 GMT, March 31, 2021
</BODY>
</HTML>