XvSelectPortNotify(3X)XvSelectPortNotify(3X)NameXvSelectPortNotify - enable or disable XvPortNotify(3X)
events
Syntax
#include <X11/extensions/Xvlib.h>
XvSelectPortNotify(dpy, port, onoff)
Display *dpy;
XvPortID port;
Bool onoff;
Arguments
dpy Specifies the display screen on which the X Server
is to accept requests from X clients. If the dis-
play option is not specified, X uses the display
screen specified by your DISPLAY environment vari-
able. The display option has the format host-
name:number. Using two colons (::) instead of one
(:) indicates that DECnet is to be used for trans-
port.
port Specifies the port for which PortNotify events are
to be generated when its attributes are changed
using XvSetPortAttribute(3X).
onoff Specifies whether notification is to be enabled or
disabled.
DescriptionXvSelectPortNotify(3X) enables or disables PortNotify
event delivery to the requesting client. XvPortNotify(3X)
events are generated when port attributes are changed
using XvSetPortAttribute(3X).
Returned Values
[Success]
Returns True if XvSelectPortNotify(3X) completed
successfully.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvSelectPortNotify(3X) failed to allo-
cate memory to process the request.
Diagnostics
[XvBadPort]
Generated if the requested port does not exist.
See AlsoXvSetPortNotify(3X), XvSetPortAttribute(3X),
1
XvSelectPortNotify(3X)XvSelectPortNotify(3X)XvPortNotify(3X)
2