API Guide
2-712 API Functions 601355 Rev A
VSCMD_Lock
_SetDefaults
VSCMD_Lock_SetDefaults is issued to set the
command-level default parameters for the Lock command.
Two levels of default parameter settings are used in the API
software—global defaults and command-specific defaults.
Synopsis
VST_BOOLEAN VSCMD_Lock_SetDefaults
(
"…",
VSID_ENDFIELD )
Arguments • "…" = 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.
Parameters
Parameter Type Description
VSID_CLIENT_DISPATCH
(VST_CLIENT_DISPATCH)
Name of the client dispatch routine to receive
status for this request.
VSID_DRIVE_COUNT (int) Number of drives to lock.
VSID_DRIVE_EXCL_LIST (int) Number of drives in list.
(VST_DRIVE_ID *) Pointer to a list of drives to exclude from the
drive pool.
VSID_DRIVE_ID (VST_DRIVE_ID) Drive identifier of drive to lock.