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

다운로드
페이지 1192
API Guide
2-338
API Functions
601355 Rev A
VS_Notify_
Create
VS_Notify_Create
 allocates a VolServ API notify handle. 
A notify handle is used by the API to allow a client to listen for 
MediaClass notifications.
Synopsis
VST_NOTIFY_HANDLE VS_Notify_Create (void)
Arguments
None
Return Values
VS_Notify_Create
 returns:
A notify handle, if one can be allocated
NULL, if a notify handle could not be allocated. An 
appropriate error code is set in 
VSG_Error
.
VSE_ERR_OUTOFMEM
 - Memory allocation call failed.
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_notify
4
*
5
* PURPOSE:
6
* This routine is used to test the notify 
loop.
7
*
8
* PARAMETERS:
9
* none
10 *
11 ****************************************
*********/
12 #ifdef ANSI_C
13
VST_BOOLEAN vst_notify( void )
14 #else
15
VST_BOOLEAN
16
vst_notify()