Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/ape/X11/lib/Xv/man/XvQueryExtension.man

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH XvQueryExtension __libmansuffix__ __vendorversion__
.\" $XFree86: xc/doc/man/Xv/XvQueryExtension.man,v 1.5 2001/01/27 18:20:36 dawes Exp $
.SH Name
XvQueryExtension \- return version and release of extension
.\"
.SH Syntax
.B #include <X11/extensions/Xvlib.h> 
.sp 1l
\fBXvQueryExtension(\fIdpy, p_version, p_release, 
.br
	p_request_base, p_event_base, p_error_base\fR)
.sp 1l
\fBDisplay \fI*dpy\fR;
.br
\fBunsigned int \fI*p_version, *p_release\fR;
.br
\fBunsigned int \fI*p_request_base, *p_event_base, *p_error_base\fR;
.\"
.SH Arguments
.\"
.IP \fIp_version\fR 15
Pointer to where the current version number of the \fIXv\fP video extension
is written.
.IP \fIp_release\fR 15
Pointer to where the release number of the \fIXv\fP video extension
is written.
.IP \fIp_request_base\fR 15
Pointer to where the extension major request number is returned
.IP \fIp_event_base\fR 15
Pointer to where the extension event base is returned
.IP \fIp_error_base\fR 15
Pointer to where the extension error base is returned
.\"
.SH Description
.\"
.PP
XvQueryExtension(__libmansuffix__) 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.
.\"
.SH Returned Values
.IP [Success] 8
Returned if XvQueryExtension(__libmansuffix__) completed successfully.
.IP [XvBadExtension] 8
Returned if the Xv video extension is not available for 
the named display.
.IP [XvBadAlloc] 8
Returned if XvQueryExtension(__libmansuffix__) failed to allocate memory to process
the request.
.br

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.