X Version 11 (Release 6.1)

XdbeQueryExtension(X3xext)


XdbeQueryExtension -- returns the version of DBE supported by the server.

Synopsis

   #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 function. If a client violates this rule, the effects of all subsequent Xdbe calls that it makes are undefined.

References

DBE(X3xext), XdbeAllocateBackBufferName(X3xext), XdbeBeginIdiom(X3xext), XdbeDeallocateBackBufferName(X3xext), XdbeEndIdiom(X3xext), XdbeFreeVisualInfo(X3xext), XdbeGetBackBufferAttributes(X3xext), XdbeGetVisualInfo(X3xext), XdbeSwapBuffers(X3xext).
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004