XdbeQueryExtension(3xext) X FUNCTIONS XdbeQueryExtension(3xext)NAMEXdbeQueryExtension - returns the version of DBE supported by the
server.
SYNOPSIS
cc [ flag... ] file... -lXext [ library... ]
#include <X11/extensions/Xdbe.h>
Status XdbeQueryExtension(
Display *dpy,
int *major_version_return,
int *minor_version_return)
DESCRIPTION
Sets major_version_return and minor_version_return 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 dpy 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 func‐
tion. If a client violates this rule, the effects of all subsequent
Xdbe calls that it makes are undefined.
SEE ALSO
DBE, XdbeAllocateBackBufferName(), XdbeBeginIdiom(), XdbeDeallocate‐
BackBufferName(), XdbeEndIdiom(), XdbeFreeVisualInfo(), XdbeGetBack‐
BufferAttributes(), XdbeGetVisualInfo(), XdbeSwapBuffers().
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │x11/library/libxext │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │See XInitThreads(3X11) │
└─────────────────────────────┴─────────────────────────────┘
X Version 11 libXext 1.1.2 XdbeQueryExtension(3xext)