ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
2-226
API Functions
601355 Rev A
Return Values
VS_Expression_GetFields
returns:
•
VSE_TRUE
- Successful execution.
•
VSE_FALSE
- API failure - The appropriate error code is
set in
VSG_Error.
•
VSE_ERR_BADFIELD
- An invalid parameter was
specified.
•
VSE_ERR_BADHANDLE
- Specified handle was not an
error handle.
•
VSE_ERR_NULLHANDLE
- Specified handle was a null
pointer.
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_print_criteria_group
4
*
5
* PURPOSE:
6
* This function prints out the
information stored in
7
* a criteria group handle.
8
*
VSID_CONNECTIVE_OP
(VST_CONNECTIVE_OP *)
(VST_CONNECTIVE_OP *)
Pointer to the connective operation between
two expressions. Valid
two expressions. Valid
VS_Expression_GetFields
values are
enumerated in the
vs_types.h
file. The last
expression in a criteria must have the connect
operator set to none.
operator set to none.
VSID_MEDIA_STAT_VALUE
(VST_MEDIA_STAT_VALUE)
(VST_MEDIA_STAT_VALUE)
Value for comparison. All values are
compared as strings. If numbers are needed,
they must be left filled with zeros within the
string.
compared as strings. If numbers are needed,
they must be left filled with zeros within the
string.
Parameter Type
Description