ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
2-878
API Functions
601355 Rev A
VSCMD_Drive
Query
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.
requested information and returns this information to the client.
Synopsis
VST_BOOLEAN VSCMD_DriveQuery
(VST_COMMAND_HANDLE handle,
“…”,
VSID_ENDFIELD)
(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.
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.
length argument list to indicate the end of the list.
Parameters
Parameter Type
Description
VSID_CLIENT_DISPATCH
(VST_CLIENT_DISPATCH)
(VST_CLIENT_DISPATCH)
Name of the client dispatch routine to receive
status for this request.
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.
than or equal to 1.
(VST_DRIVE_ID *)
Pointer to a list of identifiers of drives to query.