summaryrefslogtreecommitdiff
path: root/man/XvQueryExtension.man
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:49 +0000
commit355f676a4ff26d8fcdfdbe64e791e60bc579e339 (patch)
tree7a1490729f7fad1929023e3408a5545a6470d68c /man/XvQueryExtension.man
Initial revision
Diffstat (limited to 'man/XvQueryExtension.man')
-rw-r--r--man/XvQueryExtension.man51
1 files changed, 51 insertions, 0 deletions
diff --git a/man/XvQueryExtension.man b/man/XvQueryExtension.man
new file mode 100644
index 0000000..3549f96
--- /dev/null
+++ b/man/XvQueryExtension.man
@@ -0,0 +1,51 @@
+.TH XvQueryExtension 3X __vendorversion__
+.\" $XFree86: xc/doc/man/Xv/XvQueryExtension.man,v 1.6 2001/08/17 13:27:50 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(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.
+.\"
+.SH Returned Values
+.IP [Success] 8
+Returned if XvQueryExtension(3X) completed successfully.
+.IP [XvBadExtension] 8
+Returned if the Xv video extension is not available for
+the named display.
+.IP [XvBadAlloc] 8
+Returned if XvQueryExtension(3X) failed to allocate memory to process
+the request.
+.br