API Guide
2-652 API Functions 601355 Rev A
VSCMD_Drive
Vary_
SetDefaults
VSCMD_DriveVary_SetDefaults is the call issued to set
the command default parameters for Drive Vary commands.
Two levels of default parameter settings are used in the API
software—global defaults and command-specific defaults.
Synopsis VST_BOOLEAN VSCMD_DriveVary_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.
Parame ters
Parameter Type Description
VSID_CLIENT_DISPATCH
(VST_CLIENT_DISPATCH) Name of the client dispatch routine to receive
status for this request.
VSID_COMP_STATE (VST_COMP_STATE) The target state f or the individua l drive or drive
pool group specified in VSID_DRIVE_ID.
Used when varying the drives to different
states. Valid VSID_COMP_STATE values are
enumerated in the vs_types.h file.
VSID_COMP_STATE_LIST (int) Number of states contained in this list.