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

다운로드
페이지 1192
API Guide
601355 Rev A
API Functions
2-351
Functions
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_notify_dispatch
4
*
5
* PURPOSE:
6
* This is the dispatch routine used to 
test the
7
* notify loop.
8
*
9
* PARAMETERS:
10 * h : the notify handle to print
11 *
12 ****************************************
*********/
13 #ifdef ANSI_C
14
int vst_notify_dispatch 
VST_NOTIFY_HANDLE h )
15 #else
16
int 
vst_notify_dispatch ( h )
17
VST_NOTIFY_HANDLE h;
18 #endif
19 {
20  int 
i, 
n;
21  VST_ARCHIVE_NAME 
archive;
22  VST_DRIVE_ID 
did;
23  char 
mid;
24  VST_MEDIA_CLASS_NAME  class, 
newclass;
25  VST_NOTIFY_TYPE 
type;
26  VST_ERROR_HANDLE 
eh;
27  VST_TABLE_HANDLE 
dt, 
mt;
28  VST_STATUS_CODE 
sc;
29
30  
/* increment a counter for the number 
of */
31
/* notifies processed */
32  NumNotifies++;
33  
/* initialize values in the notify 
handle. */
34  
VS_Notify_GetFields ( h,