GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XVGRABPORT (3)

NAME

XvGrabPort - lock port for exclusive use by client

CONTENTS

Synopsis
Arguments
Description
Return Values
Diagnostics
See Also

SYNOPSIS

#include <X11/extensions/Xvlib.h>


int XvGrabPort(Display *dpy, XvPortID port, Time time); 

ARGUMENTS

dpy Specifies the connection to the X server.
port Defines the port to be grabbed.
time Specifies the request timestamp.

DESCRIPTION

XvGrabPort(3) grabs a port. Once a client grabs a port, only that client can make video requests to that port.

If the time is before the current port time, the XvGrabPort request is ignored and XvInvalidTime is returned. If the port is already grabbed by another client, XvAlreadyGrabbed is returned. Otherwise it returns a status of Success. The port time is updated when the following requests are processed: XvGrabPort(3), XvUngrabPort(3), XvPutVideo(3), XvPutStill(3), XvGetVideo(3), XvGetStill(3).

If the port is actively processing video for another client, the video is preempted, and an XvVideoNotify event with detail XvPreempted is generated for its drawable.

RETURN VALUES

[Success] Returned if XvGrabPort(3) completed successfully.
[XvInvalidTime] Returned if requested time is older than the current port time.
[XvAlreadyGrabbed] Returned if the port is already grabbed by another client.
[XvBadExtension] Returned if the Xv extension is unavailable.
[XvBadAlloc] Returned if XvGrabPort(3) failed to allocate memory to process the request.

DIAGNOSTICS

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

SEE ALSO

XvUngrabPort(3), XvVideoNotify(3)

Search for    or go to Top of page |  Section 3 |  Main Index


X Version 11 XVGRABPORT (3) libXv 1.0.10

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.