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

80 lines
2.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of XdbeQueryExtension</TITLE>
</HEAD><BODY>
<H1>XdbeQueryExtension</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>
XdbeQueryExtension - returns the version of DBE supported by the server.
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
#include &lt;<A HREF="file:///usr/include/X11/extensions/Xdbe.h">X11/extensions/Xdbe.h</A>&gt;
<P>
Status XdbeQueryExtension(
<BR>&nbsp;&nbsp;&nbsp;&nbsp;Display&nbsp;*dpy,
<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*major_version_return,
<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*minor_version_return)
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Sets
<I>major_version_return</I>
and
<I>minor_version_return</I>
to the major and minor
DBE protocol version supported by the server. If the DBE library is
compatible with the version returned by the server, this function returns
non-zero. If
<I>dpy</I>
does not support the DBE extension, or if there was an error
during communication with the server, or if the server and library protocol
versions are incompatible, this function returns zero. No other Xdbe functions
may be called before this function. If a client violates this rule, the
effects of all subsequent Xdbe calls that it makes are undefined.
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
DBE,
<I>XdbeAllocateBackBufferName(),</I>
<I>XdbeBeginIdiom(),</I>
<I>XdbeDeallocateBackBufferName(),</I>
<I>XdbeEndIdiom(),</I>
<I>XdbeFreeVisualInfo(),</I>
<I>XdbeGetBackBufferAttributes(),</I>
<I>XdbeGetVisualInfo(),</I>
<I>XdbeSwapBuffers().</I>
<P>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">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:06:00 GMT, March 31, 2021
</BODY>
</HTML>