ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
601355 Rev A
API Functions
2-867
Functions
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_drivepoolquery_execute
4
*
5
* PURPOSE:
6
* This executes the VSCMD_DrivePoolQuery
API call.
7
*
8
* PARAMETERS:
9
* none
10 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13
VST_BOOLEAN
vst_drivepoolquery_execute(void)
14 #else
15
VST_BOOLEAN
vst_drivepoolquery_execute()
16 #endif
17 {
18 VST_BOOLEAN
rc
=
VSE_FALSE;
19 VST_QUERY_OPTION
queryopt;
20 VST_QUERY_LIST_OPTION
querylistopt;
21 int
count;
22 VST_DRIVE_POOL_NAME
drivepool;
23 VST_COMMAND_HANDLE
cmd;
24
25
/* get parameters from user */
26
printf(“*** DrivePool Query
parameters ***\n” );
27
printf(“0) Query by drive pool Name,
1) Query all ==> “ );
28
queryopt = atoi(gets(input));
29
30
if (queryopt == 0)
31 {
32
printf(“\nEnter drive pool Name
==>”);