GoWebScan API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
kStatus GoWebScanPipe_Receive ( GoWebScanPipe  pipe,
GoWebScanPipeMsg msg,
k64u  timeout 
)

Receives a completed processing job from the pipe.

Retrieves the first out message from the outgoing queue and increases the reference count of this message.

Parameters
pipeGoWebScanPipe object.
msgReceives processed GoWebScanPipeMsg object.
timeoutTimeout for waiting to receive a message (in microseconds). kINFINITE to wait indefinetely
Returns
Operation status.