Table of Contents


XvSelectPortNotify - enable or disable XvPortNotify(3X) events


#include <X11/extensions/Xvlib.h>

XvSelectPortNotify(dpy, port, onoff)

Display *dpy;
XvPortID port;
Bool onoff;


Specifies the display screen on which the X Server is to accept requests from X clients. If the display option is not specified, X uses the display screen specified by your DISPLAY environment variable. The display option has the format hostname:number. Using two colons (::) instead of one (:) indicates that DECnet is to be used for transport.

Specifies the port for which PortNotify events are to be generated when its attributes are changed using XvSetPortAttribute(3X) .

Specifies whether notification is to be enabled or disabled.


Returned Values

Returned if XvSelectPortNotify(3X) completed successfully.

Returned if the Xv extension is unavailable.

Returned if XvSelectPortNotify(3X) failed to allocate memory to process the request.


Generated if the requested port does not exist.

See Also

Table of Contents