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

다운로드
페이지 1192
API Guide
601355 Rev A
API Functions
2-383
Functions
VS_Select
VS_Select
 requests the VolServ API to wait for command 
status from VolServ when the API in operating in asynchronous 
mode.
In asynchronous mode, the client issues a VolServ command 
through the API, immediately receives initial status for the 
command, issues 
VS_Select
 to request that the API wait for 
intermediate and/or final status, and continues processing. 
When the API receives intermediate or final status from 
VolServ, it calls the specified client dispatch routine to process 
the status and the outstanding 
VS_Select
 function 
terminates. It is the client’s responsibility to issue the 
VS_Select
 for each intermediate and final status expected for 
a command.
Synopsis
int VS_Select (void)
Arguments
None
Return Values
VS_Select
 returns:
VSE_TRUE
 - Successful execution.
VSE_FALSE
 - API failure - An appropriate error code is set 
in 
VSG_Error
.
VSE_ERR_NONE
 - Successfully received and processed 
status.
VSE_ERR_NOTINITIALIZED
 - The VolServ API is not 
initialized.
VSE_ERR_SELECT
 - An error occurred during a select 
system call.