dwww Home | Manual pages | Find package

XvSelectPortNotify(3)           libXv Functions          XvSelectPortNotify(3)

NAME
       XvSelectPortNotify - enable or disable XvPortNotify events

SYNOPSIS
       #include <X11/extensions/Xvlib.h>

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

ARGUMENTS
       dpy     Specifies the connection to the X server.

       port    Specifies the port for which PortNotify events are to be gener-
               ated  when  its  attributes  are  changed  using   XvSetPortAt-
               tribute(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).

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.

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

SEE ALSO
       XvSetPortNotify(3), XvSetPortAttribute(3), XvPortNotify(3)

X Version 11                     libXv 1.0.11            XvSelectPortNotify(3)

Generated by dwww version 1.14 on Tue Jan 21 01:40:40 CET 2025.