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

다운로드
페이지 1192
API Guide
2-658
API Functions
601355 Rev A
84
85  
/* create the command handle */
86  
/* Note that the command handle is 
not */
87  
/* destroyed in this routine, but in 
*/
88  
/* vst_dispatch when final status is 
received. */
89  
cmd = VS_Command_Create();
90  
if ( cmd != (VST_COMMAND_HANDLE) 
NULL)
91  {
92  
/* Send the command to the VolServ 
software. */
93  
/* Note that status is not 
processed here. */
94  
/* Instead, it is processed in the 
*/
95
/* vst_dispatch routine. Also, 
note that,*/
96
/* default values such as timeout, 
value */
97
/* retry limit and priority are 
set as */
98
/* default parameters. */
99  
rc = VSCMD_DriveVary(cmd,
100 VSID_ENDFIELD);
101 }
102 
return ( rc );
103}
Notes
The 
VSID_DRIVE_ID_LIST
 and 
VSID_COMP_STATE_LIST
 
parameters require that two arguments be passed instead of one. 
Note
If the argument list does not end with 
VSID_ENDFIELD
unpredictable results occur.