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

다운로드
페이지 1192
API Guide
601355 Rev A
API Functions
2-883
Functions
46  {
47  
/* Send the command to the VolServ 
software. */
48  
/* Note that status is not 
processed here. */
49
/* Instead, it is processed in the 
*/
50
/* vst_dispatch routine Also, note 
that */
51
/* default values such as 
timeout,*/
52
/* value retry limit and priority 
are set as */
53
/* default parameters. */
54  
if(queryopt == 2)
55  {
56  
rc = VSCMD_DriveQuery(cmd,
57  VSID_QRY_OPTION,
 
VSE_QUERY_OPTION_NONE,
58  VSID_DRIVE_ID, 
temp_drive_id,
59  VSID_ENDFIELD);
60  }
61  else
62  {
63  
rc = VSCMD_DriveQuery(cmd,
64  VSID_QRY_OPTION, 
queryopt,
65  VSID_DRIVE_ID_LIST, 
count,drivelist,
66  VSID_ENDFIELD);
67  }
68  }
69  
return ( rc );
70 }
Notes
The API must be initialized with a call to 
VS_Initialize
 
before this function can be executed.