xenocara/lib/libXv/man/XvQueryExtension.man

53 lines
1.6 KiB
Groff
Raw Normal View History

2009-10-31 12:54:56 -06:00
.TH XvQueryExtension __libmansuffix__ __vendorversion__ "libXv Functions"
.SH NAME
2006-11-25 11:01:46 -07:00
XvQueryExtension \- return version and release of extension
.\"
2009-10-31 12:54:56 -06:00
.SH SYNOPSIS
2008-05-24 07:46:47 -06:00
.B #include <X11/extensions/Xvlib.h>
.sp
.nf
2009-10-31 12:54:56 -06:00
.BI "int XvQueryExtension(Display *" dpy ", unsigned int *" p_version ","
.BI " unsigned int *" p_revision ","
.BI " unsigned int *" p_request_base ","
.BI " unsigned int *" p_event_base ","
.BI " unsigned int *" p_error_base ");"
2008-05-24 07:46:47 -06:00
.fi
2009-10-31 12:54:56 -06:00
.SH ARGUMENTS
2006-11-25 11:01:46 -07:00
.\"
2008-05-24 07:46:47 -06:00
.IP \fIdpy\fR 15
Specifies the connection to the X server.
2006-11-25 11:01:46 -07:00
.IP \fIp_version\fR 15
Pointer to where the current version number of the \fIXv\fP video extension
is written.
2008-05-24 07:46:47 -06:00
.IP \fIp_revision\fR 15
Pointer to where the revision number of the \fIXv\fP video extension
2006-11-25 11:01:46 -07:00
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
.\"
2009-10-31 12:54:56 -06:00
.SH DESCRIPTION
2006-11-25 11:01:46 -07:00
.\"
.PP
2009-10-31 12:54:56 -06:00
.BR 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.
2006-11-25 11:01:46 -07:00
.\"
2009-10-31 12:54:56 -06:00
.SH RETURN VALUES
2006-11-25 11:01:46 -07:00
.IP [Success] 8
2009-10-31 12:54:56 -06:00
Returned if
.BR XvQueryExtension (__libmansuffix__)
completed successfully.
2006-11-25 11:01:46 -07:00
.IP [XvBadExtension] 8
2009-10-31 12:54:56 -06:00
Returned if the Xv video extension is not available for the named display.
2006-11-25 11:01:46 -07:00
.IP [XvBadAlloc] 8
2009-10-31 12:54:56 -06:00
Returned if
.BR XvQueryExtension (__libmansuffix__)
failed to allocate memory to process the request.
.SH SEE ALSO
.BR Xv (__libmansuffix__)