ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
601355 Rev A
API Functions
2-115
Functions
Return Values
VS_Connect_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
command handle.
•
VSE_ERR_NULLHANDLE
- Specified handle was a null
pointer.
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_print_connect
4
*
5
* PURPOSE:
6
* This function prints out the
information stored in
7
* a connect handle.
8
*
9
* PARAMETERS:
VSID_PROTOCOL (VST_PROTOCOL *)
Pointer to the Internet protocol to use to return
status messages to the connected client
process. Valid
status messages to the connected client
process. Valid
VSID_PROTOCOL
values are
enumerated in the vs_types.h file.
VSID_SOCKADDR_IN
(VST_SOCKADDR_IN *)
(VST_SOCKADDR_IN *)
Pointer to the Internet socket address for the
client process.
client process.
VSID_VERSION_NUMBER
(VST_VERSION_NUMBER *)
(VST_VERSION_NUMBER *)
Pointer to the RPC version number of the
client process to receive status messages.
client process to receive status messages.
Parameter Type
Description