ADIC 601355 Rev A Digital Camera User Manual


  Open as PDF
of 1192
 
API Guide
2-630 API Functions 601355 Rev A
VSID_CAPACITY is a “hard” limit. VolServ does not permit
the number of media assigned to a MediaClass group to exceed
the VSID_CAPACITY for that MediaClass group.
If the VSID_ENTERPRISE_ID parameter is set to any value
other than zero, final status for this request is returned to the
enterprise registered with VolServ.
When the API software is operating in asynchronous mode,
client software must call VS_Select to receive final status on
a Create 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 Create Media
Class commands are set with
VSCMD_CreateMediaClass_SetDefaults. If
command-specific defaults are set for Create Media Class
commands, they override the global defaults for all
commands.
The following fields can be retrieved from the status handle
after a successful Create Media Class command:
VSID_MEDIA_CLASS_NAME,
Tip
To override a default (global or command-specific)
parameter value for a specific instance of a Create Media
Class command, the parameter identifier and the value
used for the parameter can be submitted on the specific
request itself.