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

다운로드
페이지 1192
API Guide
2-990
API Functions
601355 Rev A
22  VST_RETRY_LIMIT 
retries;
23  VST_STATUS_WAIT_FLAG  wait_flag;
24  VST_ENTERPRISE_ID 
enterprise_id;
25  VST_BOOLEAN 
rc;
26
27  
/* get parameters from user */
28  
printf(“*** Move defaults ***\n” );
29  vst_promptforglobals(&priority, 
user_field, &timeout, &retries, 
&wait_flag, &enterprise_id);
30  
rc = VSCMD_Move_SetDefaults 
( VSID_PRIORITY, priority,
31  VSID_USER_FIELD, 
user_field,
32  VSID_TIMEOUT_VALUE, 
timeout,
33  VSID_RETRY_LIMIT, 
retries,
34  VSID_STATUS_WAIT_FLAG, 
wait_flag,
35  VSID_ENTERPRISE_ID, 
enterprise_id,
36  VSID_ENDFIELD);
37  return(rc);
38 }
Notes
The 
VSID_MEDIA_ID_LIST
 parameter requires that two 
arguments be passed instead of one. 
The first argument passed is the number of media to move. 
The second argument is the list of identifiers of the media to 
move. 
Note
If the argument list does not end with 
VSID_ENDFIELD
unpredictable results occur.