iTixRuntime::GetSessionStatus
Returns the internal session status.
int GetSessionStatus(void);
Parameters
none
Return value
Returns one of the following values:
Symbol | Value | Description |
---|---|---|
TIXSTAT_NONE | 0 | Session not started yet (before TIXMSG_START_PROCESSING) |
Success codes are > 0 | ||
TIXSTAT_INPROGRESS | 1 | Session is in progress (between TIXMSG_START_PROCESSING and TIXMSG_END_PROCESSING) |
TIXSTAT_COMPLETE | 2 | Session completed successfully (after TIXMSG_END_PROCESSING) |
Failure codes are < 0 | ||
TIXSTAT_FAILED | -1 | Session failed due to an error |
TIXSTAT_CANCELLED | -2 | Session is cancelled by the user |