blob: f31fa24f78179ca003dffee1070c2e07fb1e9e8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
.TH XvSelectPortNotify __libmansuffix__ __vendorversion__ "libXv Functions"
.SH NAME
XvSelectPortNotify \- enable or disable XvPortNotify events
.\"
.SH SYNOPSIS
.B #include <X11/extensions/Xvlib.h>
.sp
.nf
.BI "int XvSelectPortNotify(Display *" dpy ", XvPortID " port ", Bool " onoff ");"
.fi
.SH ARGUMENTS
.\"
.IP \fIdpy\fR 8
Specifies the connection to the X server.
.IP \fIport\fR 8
Specifies the port for which PortNotify events are to be generated
when its attributes are changed using
.BR XvSetPortAttribute (__libmansuffix__)
.
.IP \fIonoff\fR 8
Specifies whether notification is to be enabled or disabled.
.\"
.SH DESCRIPTION
.\"
.BR XvSelectPortNotify (__libmansuffix__)
enables or disables PortNotify event delivery to the requesting client.
.BR XvPortNotify (__libmansuffix__)
events are generated when port attributes are changed using
.BR XvSetPortAttribute (__libmansuffix__).
.\"
.SH RETURN VALUES
.IP [Success] 8
Returned if
.BR XvSelectPortNotify (__libmansuffix__)
completed successfully.
.IP [XvBadExtension] 8
Returned if the Xv extension is unavailable.
.IP [XvBadAlloc] 8
Returned if
.BR XvSelectPortNotify (__libmansuffix__)
failed to allocate memory to process the request.
.SH DIAGNOSTICS
.IP [XvBadPort] 8
Generated if the requested port does not exist.
.SH SEE ALSO
.\"
.BR XvSetPortNotify (__libmansuffix__),
.BR XvSetPortAttribute (__libmansuffix__),
.BR XvPortNotify (__libmansuffix__)
|