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

다운로드
페이지 1192
API Guide
601355 Rev A
API Functions
2-397
Functions
75  VSID
_
MEDIA
_
HANDLE
_
TABLE 
&mediahandletable,
76  VSID_ENDFIELD);
77
78  
/* Get the number of entries in 
the table */
79  
VS_Table_GetFields(mediahandletab
le,
80  
VSID_NUMBER_ENTRIES, &count
81  VSID_ENDFIELD);
82
83  
/* loop through the table and 
print out */
84
/* the entries */
85  
for (i = 0; i < count; i++)
86  {
87  
VS_Table_GetFields(mediahandletab
le,
88  VSID_TABLE_ENTRY, 
i, &media,
89  VSID_ENDFIELD);
90  vst_print_media(media);
91  }
92  }
93  
/* destroy the command */
94  VS_Command_Destroy(cmd);
95  }
96  
return ( rc );
97 }
Notes
The parameters listed below require that two arguments be 
passed instead of one. 
The first argument passed is the index of the entry in the 
appropriate table.