XvSelectPortNotify

Section: Misc. Reference Manual Pages (3x)
Updated: libXv 1.0.1
Index Return to Main Contents
 

Name

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

Description

XvSelectPortNotify(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]
Returned if XvSelectPortNotify(3x) completed successfully.
[XvBadExtension]
Returned if the Xv extension is unavailable.
[XvBadAlloc]
Returned if XvSelectPortNotify(3x) failed to allocate memory to process the request.
 

Diagnostics

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

See Also

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


 

Index

Name
Syntax
Arguments
Description
Returned Values
Diagnostics
See Also

linux.jgfs.net manual pages