ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
601355 Rev A
API Functions
2-415
Functions
•
VSE_ERR_BADHANDLE
- Specified handle was not a table
handle.
•
VSE_ERR_FULL
- The table is full and the entry could not
be added
•
VSE_ERR_NULLHANDLE
-Specified handle was a null
pointer.
•
VSE_ERR_OUTOFMEM
- The allocation request for space
to copy the client’s data failed.
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_table_handle
4
*
5
* PURPOSE:
6
* This function tests the table handle.
7
*
8
* PARAMETERS:
9
* none
10 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13
VST_BOOLEAN vst_table_handle(void)
14 #else
15
VST_BOOLEAN vst_table_handle()
16 #endif
17 {
18 VST_BOOLEAN
rc
=
VSE_TRUE;
19 VST_TABLE_HANDLE
tableh;
20 int
numdrives;
21 int
i;
22 VST_DRIVE_ID
testdriveid
= 9999;
23 int
numentries;
24 VST_DRIVE_ID
*
ip;
25