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(3) 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.