API Guide
2-878 API Functions 601355 Rev A
VSCMD_Drive
Query VSCMD_DriveQuery queries for information about one or
more drives known to the VolServ system.
Upon receipt of a Drive Query command, VolServ obtains the
requested information and returns this information to the client.
Synopsis VST_BOOLEAN VSCMD_DriveQuery
(VST_COMMAND_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments handle = The command handle for the Drive Query request.
“…” = Variable length argument list consisting of pairs of
arguments. Each pair of arguments consists of a parameter
identifier, followed by the value to be used as a command
default value for the field. The valid parameter identifiers
and types for this function 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_CLIENT_DISPATCH
(VST_CLIENT_DISPATCH) Name of the client dispatch routine to receive
status for this request.
VSID_DRIVE_ID (VST_DRIVE_ID) Identifier of a single drive to query.
VSID_DRIVE_ID_LIST (int) Number of drives to query. Can be greater
than or equal to 1.
(VST_DRIVE_ID *) Pointer to a list of identifiers of drives to query.