API Guide
601355 Rev A API Functions 2-187
Functions
VS_Drive_Set
Fields VS_Drive_SetFields sets the value of one or more fields
in a drive handle. A drive handle is used to pass information to
and from VolServ.
Synopsis VST_BOOLEAN VS_Drive_SetFields
( VST_DRIVE_HANDLE handle,
“…”,
VSID_ENDFIELD )
Arguments handle = Drive handle where information is stored.
“…” = Variable length argument list consisting of pairs of
arguments. Each pair of arguments consists of a parameter
identifier, followed by the value of the field to store. The
parameter identifiers and types this function accepts are
shown in the following "Parameters" paragraph.
VSID_ENDFIELD = Required at the end of the variable
length argument list to indicate the end of the list.
Parame ters
Parameter Type Description
VSID_ARCHIVE_NAME
(VST_ARCHIVE_NAME) Name of the archive with which this drive is
associated. Valid archive names may contain
up to 16 alphanumeric characters, including
spaces. Leading and trailing spaces are not
permitted.
VSID_ASSIGNMENT (VST_ASSIGNMENT) Current assignment of this drive. Valid
VSID_ASSIGNMENT values are enumerated
in the vs_type.h file.