ADIC Digital Camera 601355 Rev A 사용자 설명서
API Guide
601355 Rev A
API Functions
2-119
Functions
Return Values
VS_Connect_SetFields
returns:
•
VSE_TRUE
- Successful execution.
•
VSE_FALSE
- API failure - An appropriate error code is set
in
VSG_Error
.
•
VSE_ERR_BADHANDLE
- Specified handle was not a
connect handle.
•
VSE_ERR_BADSIZE
- The value passed for a string
parameter exceeds the maximum allowable length for that
parameter.
parameter.
•
VSE_ERR_NULLHANDLE
- Specified handle was a null
pointer.
•
VSE_ERR_NULLSTRING
- A null value was passed to a
string argument.
Example
1
/****************************************
*********
2
*
3
* FUNCTION: vst_connect_handle
4
*
5
* PURPOSE:
6
* This function tests a connect handle.
VSID_PROTOCOL (VST_PROTOCOL)
Internet protocol to use to transmit status
messages to this client. Valid
messages to this client. Valid
VSID_PROTOCOL
values are enumerated in
the vs_types.h file.
VSID_SOCKADDR_IN
(VST_SOCKADDR_IN)
(VST_SOCKADDR_IN)
Internet socket address for this client.
VSID_VERSION_NUMBER
(VST_VERSION_NUMBER)
(VST_VERSION_NUMBER)
RPC version number of the client process to
receive status messages.
receive status messages.
Parameter Type
Description