API Guide
601355 Rev A API Functions 2-925
Functins
When the API software is operating in asynchronous mode,
client software must call VS_Select to receive final status on
a Modify Media Class request submitted through the API
interface to the VolServ system.
Two levels of default parameter settings are used in the API
software—global defaults and command-specific defaults.
Global defaults for all commands are initialized at startup
and can be set or retrieved using VS_Global_SetFields
and VS_Global_GetFields function calls.
Command-specific parameter defaults for Modify Media
Class commands are set with
VSCMD_ModifyMediaClass_SetDefaults. If
command-specific defaults are set for Modify Media Class
commands, they override the global defaults for all
commands.
The following fields can be retrieved from the status handle
after a successful Modify Media Class command:
VSID_MEDIA_CLASS_NAME,
VSID_SEQUENCE_NUM,
VSID_SEQUENCE_TABLE,
VSID_STATUS_CODE,
VSID_STATUS_TYPE,
VSID_USER_FIELD.
Tip
To override a default (global or command-specific)
parameter value for a specific instance of a Modify Media
Class command, the parameter identifier and the value
used for the parameter can be submitted on the specific
request itself.