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

다운로드
페이지 1192
API Guide
2-206
API Functions
601355 Rev A
16 #endif
17 {
18  VST_BOOLEAN 
rc 
VSE_FALSE;
19  VST_DRIVEPOOL_HANDLE  h;
20  VST_DRIVE_POOL_NAME 
DrivePoolName;
21
22  
/* create the handle */
23  
h = VS_DrivePool_Create();
24  
if (h != (VST_DRIVEPOOL_HANDLE) NULL)
25  {
26  
/* get values from user */
27  
printf(“*** Drive Pool Handle 
***\n”);
28  
printf(“Enter Drive Pool Name ==> 
“);
29  gets(DrivePoolName);
30  
rc = VS_DrivePool_SetFields(h,
31  VSID_DRIVEPOOL_NAME, 
DrivePoolName,
32  VSID_ENDFIELD);
33  if 
(rc)
34  {
35  vst_print_drivepool(h);
36  }
37  VS_DrivePool_Destroy(h);
38  }
39  return(rc);
40 }
Notes
Note
If the argument list does not end with 
VSID_ENDFIELD
unpredictable results occur.