sgiXnmbxGetVersion(3X)

sgiXnmbxGetVersion, sgiXnmbxQueryExtension - query existence and version of NMBX extension

Showing IRIX 6.5.30 (default release). Last changed in IRIX 6.5.22.

     NAME
          sgiXnmbxGetVersion, sgiXnmbxQueryExtension - query existence
          and version of NMBX extension

     SYNTAX
          #include <X11/Xlib.h>
          #include <X11/Xutil.h>
          #include <X11/extensions/sgiXnmbx.h>

          Bool
          sgiXnmbxQueryExtension(dpy, event_base_return, error_base_return)
              Display        *dpy;
              int            *event_base_return;
              int            *error_base_return;

          Status
          sgiXnmbxGetVersion(dpy, major_version_return, minor_version_return)
              Display        *dpy;
              int            *major_version_return;
              int            *minor_version_return;


     ARGUMENTS
          dpy       Specifies the connection to the X server.

          event_base_return
                    Returns the event base for the extension.

          error_base_return
                    Returns the error base for the extension.

          major_version_return
                    Returns the major version of the extension.

          minor_version_return
                    Returns the minor version of the extension.

     DESCRIPTION
          sgiXnmbxQueryExtension returns True if the SGI-
          NewMultibuffering extension is available on the given
          display.  If the extension exists, the value of the first
          event code (which should be added to the event type constant
          sgiXNMBX_ClobberNotify and sgiXNMBX_UpdateNotify to get the
          actual values) is stored into event_base_return and the
          value of the first error code (which should be added to the
          error type constant sgiNMBX_BadBuffer and
          sgiNMBX_BadCapability to the actual values) is store into
          error_base_return.

          sgiXnmbxGetVersion gets the major and minor version numbers
          of the extension.  The return value is zero if an error
          occurs or non-zero if no error happens.
     NOTES
          This extension is not supported by XFree86(1).