Name

XvSelectPortNotify - enable or disable XvPortNotify(3) events

Syntax

#include


XvSelectPortNotify(Display *dpy, XvPortID port, Bool onoff);

Arguments

_d_p_y Specifies the connection to the X server.
_p_o_r_t Specifies the port for which PortNotify events are to be generated
when its attributes are changed using XvSetPortAttribute(3).
_o_n_o_f_f Specifies whether notification is to be enabled or disabled.

Description

XvSelectPortNotify(3) enables or disables PortNotify event delivery to the requesting client. XvPortNotify(3) events are generated when port attributes are changed using XvSetPortAttribute(3).

Returned Values

[Success] Returned if XvSelectPortNotify(3) completed successfully.
[XvBadExtension] Returned if the Xv extension is unavailable.
[XvBadAlloc] Returned if XvSelectPortNotify(3) failed to allocate memory to process
the request.

Diagnostics

[XvBadPort] Generated if the requested port does not exist.

See Also

XvSetPortNotify(3), XvSetPortAttribute(3), XvPortNotify(3)