VLISSTREAMUSED(3dm)VLISSTREAMUSED(3dm)NAME
vlIsStreamUsed - determine if VL stream is used
SYNOPSIS
#include <dmedia/vl.h>
int vlIsStreamUsed(VLServer svr, VLPath path);
PARAMETERS
svr Specifies server.
path Specifies path.
DESCRIPTION
vlIsStreamUsed can be used by polite applications that don't want to
preempt another application's use of the video stream. For example, a
video control panel application might want to have a small video window
on the panel that is displayed when the video stream isn't in use by
another application. When the panel application starts up, this is the
only way to find out if it should start video in the window.
RETURN VALUE
If the stream is used, this function returns 1. If the stream is unused,
this function returns 0. A value of -1 indicates an error.
SEE ALSOvlCreatePath(3dm), vlSetupPaths(3dm)
Page 1