logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XvSelectPortNotify - enable or disable XvPortNotify events

Arguments

dpy     Specifies the connection to the X server.

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

       onoff   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).

Diagnostics

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

Name

       XvSelectPortNotify - enable or disable XvPortNotify events

Return 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.

See Also

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

X Version 11                                      libXv 1.0.11                             XvSelectPortNotify(3)

Synopsis

#include<X11/extensions/Xvlib.h>intXvSelectPortNotify(Display*dpy,XvPortIDport,Boolonoff);

See Also