ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
2-958
API Functions
601355 Rev A
•
VSE_ERR_NULLSTRING
- A null value was passed to a
string argument.
•
VSE_ERR_SEND
- The API software could not send the
command request to VolServ. This may be an RPC
communication error and can indicate VolServ is not
executing.
communication error and can indicate VolServ is not
executing.
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_mount_pool_execute
4
*
5
* PURPOSE:
6
* This executes the VSCMD_Mount API call
for drive
7
* pools.
8
*
9
* PARAMETERS:
10 * none
11 *
12 *
13 ****************************************
*********/
14 #ifdef ANSI_C
15
VST_BOOLEAN
vst_mount_pool_execute(void)
16 #else
17
VST_BOOLEAN vst_mount_pool_execute()
18 #endif
19 {
20 VST_BOOLEAN
rc =
VSE_FALSE;
21 int
i;
22 int
entry;
23 VST_DRIVE_POOL_NAME
drivepool;
24 VST_DRIVE_ID
excllist[VST_MAX_ITEMS];
25 int
exclcount;
26 VST_MEDIA_ID
mediaid;