MirOS Manual: XvQueryExtension(3)


XvQueryExtension(3X)UNIX Programmer's Manual XvQueryExtension(3X)

Name

     XvQueryExtension - return version and release of extension

Syntax

     #include <X11/extensions/Xvlib.h>

     XvQueryExtension(dpy, p_version, p_release,
          p_request_base, p_event_base, p_error_base)

     Display *dpy;
     unsigned int *p_version, *p_release;
     unsigned int *p_request_base, *p_event_base, *p_error_base;

Arguments

     p_version      Pointer to where the current version number
                    of the Xv video extension is written.

     p_release      Pointer to where the release number of the Xv
                    video extension is written.

     p_request_base Pointer to where the extension major request
                    number is returned

     p_event_base   Pointer to where the extension event base is
                    returned

     p_error_base   Pointer to where the extension error base is
                    returned

Description

     XvQueryExtension(3X) returns the version and release numbers
     for the Xv video extension currently loaded on the system.
     The extension major request number, event base, and error
     base are also returned.

Returned Values

     [Success]
             Returned if XvQueryExtension(3X) completed success-
             fully.

     [XvBadExtension]
             Returned if the Xv video extension is not available
             for the named display.

     [XvBadAlloc]
             Returned if XvQueryExtension(3X) failed to allocate
             memory to process the request.

XFree86                   Version 4.5.0                         1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.