ADIC Digital Camera 601355 Rev A 사용자 설명서

다운로드
페이지 1192
API Guide
601355 Rev A
API Functions
2-481
Functions
33  
/* vst_dispatch when final status is 
received. */
34  
cmd = VS_Command_Create();
35  
if ( cmd != (VST_COMMAND_HANDLE) 
NULL)
36  {
37  
/* Send the command to the 
VolServ. */
38  
/* Note that status is not 
processed here. */
39
/* Instead, it is processed in the 
*/
40
/* vst_dispatch routine. Also, 
note that */
41
/* default values such as timeout, 
value */
42
/* retry limit and priority are 
set as */
43
/* default parameters.*/
44  
rc = VSCMD_ArchiveVary(cmd,
45  VSID_COMP_STATE, 
state,
46  VSID_ARCHIVE_NAME, 
archive,
47  VSID_ENDFIELD);
48  }
49  
return ( rc );
50 }
Notes
The API must be initialized with a call to 
VS_Initialize
 
before this function can be executed.
The total length of time the API software waits for a command 
status in synchronous mode from VolServ is 
(
VSID_RETRY_LIMIT
 plus 1) multiplied by 
VSID_TIMEOUT_VALUE
.
If the 
VSID_ENTERPRISE_ID
 parameter is set to any value 
other than zero, the API is not able to receive status for this 
request.