1 .\" $Xorg: XdbeQuer.man,v 1.3 2000/08/17 19:41:55 cpqbld Exp $
3 .\" Copyright (c) 1995 Hewlett-Packard Company
5 .\" Permission is hereby granted, free of charge, to any person obtaining a
6 .\" copy of this software and associated documentation files (the "Software"),
7 .\" to deal in the Software without restriction, including without limitation
8 .\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 .\" and/or sell copies of the Software, and to permit persons to whom the
10 .\" Software furnished to do so, subject to the following conditions:
12 .\" The above copyright notice and this permission notice shall be included in
13 .\" all copies or substantial portions of the Software.
15 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 .\" HEWLETT-PACKARD COMPANY BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
19 .\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
20 .\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 .\" Except as contained in this notice, the name of the Hewlett-Packard Company shall not
24 .\" be used in advertising or otherwise to promote the sale, use or other
25 .\" dealing in this Software without prior written authorization from the
26 .\" Hewlett-Packard Company.
28 .\" $XFree86: xc/doc/man/Xext/dbe/XdbeQuer.man,v 3.4 2001/01/27 18:20:20 dawes Exp $
30 .TH XdbeQueryExtension __libmansuffix__ __xorgversion__ "X FUNCTIONS"
32 XdbeQueryExtension - returns the version of DBE supported by the server.
34 \&#include <X11/extensions/Xdbe.h>
36 Status XdbeQueryExtension(
38 int *major_version_return,
39 int *minor_version_return)
42 .I major_version_return
44 .I minor_version_return
45 to the major and minor
46 DBE protocol version supported by the server. If the DBE library is
47 compatible with the version returned by the server, this function returns
50 does not support the DBE extension, or if there was an error
51 during communication with the server, or if the server and library protocol
52 versions are incompatible, this function returns zero. No other Xdbe functions
53 may be called before this function. If a client violates this rule, the
54 effects of all subsequent Xdbe calls that it makes are undefined.
57 .I XdbeAllocateBackBufferName(),
59 .I XdbeDeallocateBackBufferName(),
61 .I XdbeFreeVisualInfo(),
62 .I XdbeGetBackBufferAttributes(),
63 .I XdbeGetVisualInfo(),