![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/a/73/a73a4b49-d7f1-4c0b-9164-d43628ae57b6/a73a4b49-d7f1-4c0b-9164-d43628ae57b6-bg2be.png)
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.
Parameters
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 for the individual 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.