imgSessionStatus
- Updated2023-02-21
- 1 minute(s) read
Usage
rval imgSessionStatus(SESSION_ID sid, uInt32* status, uInt32* bufferIndex);
Purpose
Gets the current session status.
Parameters
| Name | Type | Direction |
| sid | SESSION_ID | input |
| status | uInt32* | output |
| bufferIndex | uInt32* | output |
| rval | Int32 | output |
Parameter Discussion
sid: valid SESSION_ID.
status: on return, the function populates status with zero if the session is not acquiring or a non-zero value if the session is acquiring.
bufferIndex: on return, the function populates bufferIndex with the last available buffer list index.
Return Value
This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imgShowError.