ADIC 601355 Rev A Benutzerhandbuch

Seite von 1192
API Guide
601355 Rev A
API Functions
2-587
Functions
If the 
VSID_ENTERPRISE_ID
 parameter is set to any value 
other than zero, the final status for this command 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 Connect Query command 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. 
A client can issue the
 Connect Query
 command to determine 
if an enterprise is already registered. If it is registered, its 
address is also reported.
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 the Connect 
Query command are set with 
VSCMD_ConnectQuery_SetDefaults
. If 
command-specific defaults are set for the Connect Query 
command, they override the global defaults for all 
commands. 
The following fields can be retrieved from the status handle 
after a successful Connect Query command:
Tip
To override a default (global or command-specific) 
parameter value for a specific instance of a Connect 
Query command, the parameter identifier and the 
value to be used for the parameter can be submitted 
on the specific command itself.