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

다운로드
페이지 1192
API Guide
2-306
API Functions
601355 Rev A
Return Values
VS_MediaType_GetFields
 returns:
VSE_TRUE
 - Successful execution.
VSE_FALSE
 - API failure - An appropriate error code is set 
in 
VSG_Error
.
VSE_ERR_BADFIELD
 - An invalid parameter was 
specified. 
VSE_ERR_BADHANDLE
 - Specified handle was not a 
media type handle.
VSE_ERR_NULLHANDLE
 - Specified handle was a null 
pointer.
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_print_mediatype
4
*
5
* PURPOSE:
6
* This function prints out the 
information stored in 
7
* a media type handle.
8
*
9
* PARAMETERS:
10 * h : the media type handle to print
11 *
12 ****************************************
*********/
13 #ifdef ANSI_C
VSID_NUMBER_SIDES (int *) 
Pointer to the number of sides a medium 
belonging to this media type classification 
supports.
Parameter Type
Description