MagTek MAGTEK User Manual
Page 77
Section 5. Application Programmable Interface
71
#define MCP_ST_PANIC
41
// unexpected condition of self or internal
// object
#define MCP_ST_DEADLOCK
42
// deadlock detected
#define MCP_ST_STACK_OVERFLOW 43
// stack overflow detected / no enough stack
// failures */
#define MCP_ST_REFUSE
45
// oper rejected voluntarily (inappropriate
// state)
#define MCP_ST_NO_ACTION
46
// oper requires no action (eg close closed
// file)
#define MCP_ST_FAILED
47
// operation failed / not successful
// state check
#define MCP_ST_NOT_INITED
50
// object is not initialized
#define MCP_ST_NOT_ACTIVE
51
// oper allowed only when object is active
#define MCP_ST_NOT_OPEN
52
// oper allowed only when object is open
#define MCP_ST_NOT_CONNECTED 53
// oper allowed only when object is
// connected
#define MCP_ST_NOT_CONSTRUCTED 54
// object construction not completed
// i/o system
#define MCP_ST_IOERR
60
// I/O error - file system / peripherals error
#define MCP_ST_BAD_CHKSUM
61
// wrong chksum
// set-related
#define MCP_ST_NOT_FOUND
62
// requested item not found
#define MCP_ST_DUPLICATE
63
// duplicated item is not allowed
// critical section / privileges
#define MCP_ST_BUSY
70
// in critical section (dynamic, short period)
#define MCP_ST_ACCESS_DENIED
71
// temporary lack of access (dynamic, long
// period)
#define MCP_ST_PRIVILEGE
72
// privilege violation (static)
#define MCP_ST_SCOPE_VIOLATION 73
// life, validity, etc. scope rules violated
#define MCP_ST_BAD_ACCESS
74
// access type not appropriate / not possible
// operation status
#define MCP_ST_PENDING
80
// operation is pending
#define MCP_ST_TIMEOUT
81
// timeout has expired
#define MCP_ST_CANCELED
82
// operation canceled on user's request
#define MCP_ST_CANCELLED
MCP_ST_CANCELED
#define MCP_ST_ABORTED
83
// op. aborted on system/module's request
#define MCP_ST_RESET
84
// object has been orderly reset