.TH XvSelectPortNotify 3 "libXv 1.0.12" "X Version 11" "libXv Functions" .SH NAME XvSelectPortNotify \- enable or disable XvPortNotify events .\" .SH SYNOPSIS .B #include .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 (3) . .IP \fIonoff\fR 8 Specifies whether notification is to be enabled or disabled. .\" .SH DESCRIPTION .\" .BR XvSelectPortNotify (3) enables or disables PortNotify event delivery to the requesting client. .BR XvPortNotify (3) events are generated when port attributes are changed using .BR XvSetPortAttribute (3). .\" .SH RETURN VALUES .IP [Success] 8 Returned if .BR XvSelectPortNotify (3) completed successfully. .IP [XvBadExtension] 8 Returned if the Xv extension is unavailable. .IP [XvBadAlloc] 8 Returned if .BR XvSelectPortNotify (3) 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 (3), .BR XvSetPortAttribute (3), .BR XvPortNotify (3)