VLOPENVIDEO(3dm)VLOPENVIDEO(3dm)NAME
vlOpenVideo, vlCloseVideo - open or close a connection to the VL server
SYNOPSIS
#include <dmedia/vl.h>
VLServer vlOpenVideo(const char *sName);
int vlCloseVideo(VLServer svr);
PARAMETERS
sName Server name to open. Must be NULL string.
svr Handle to the server.
DESCRIPTION
vlOpenVideo establishes a connection to a video server. This connection
must be established before any other VL functions are called. There is
only one server per host.
Currently the server name parameter must be NULL.
vlCloseVideo closes the connection to the video server. Any resources in
the library and server are released, and the paths used by the client are
no longer accessible.
RETURN VALUE
If successful, vlOpenVideo returns a handle to the server, while
vlCloseVideo returns 0. A value of NULL from vlOpenVideo indicates an
error, while a value of -1 from vlCloseVideo indicates an error.
SEE ALSOvlCreatePath(3dm), vlConnectionNumber(3dm)
Page 1