API Status Code
{
MW_STATUS_SUCCESS = 0
MW_STATUS_PENDING = 1
MW_STATUS_TIMEOUT = 2
MW_STATUS_INTERRUPTED = 3
MW_STATUS_TRY_AGAIN = 4
MW_STATUS_NOT_IMPLEMENTED = 5
MW_STATUS_UNKNOWN_ERROR = 6
MW_STATUS_INVALID_ARG = 7
MW_STATUS_NO_MEMORY = 8
MW_STATUS_UNSUPPORTED = 9
MW_STATUS_FILE_BUSY = 10
MW_STATUS_DEVICE_BUSY = 11
MW_STATUS_DEVICE_LOST = 12
MW_STATUS_IO_FAILED = 13
MW_STATUS_READ_FAILED = 14
MW_STATUS_WRITE_FAILED = 15
MW_STATUS_NOT_EXIST = 16
MW_STATUS_TOO_MANY = 17
MW_STATUS_TOO_LARGE = 18
MW_STATUS_OVERFLOW = 19
MW_STATUS_UNDERFLOW = 20
MW_STATUS_FORMAT_ERROR = 21
MW_STATUS_FILE_EXISTS = 22
MW_STATUS_FILE_TYPE_ERROR = 23
MW_STATUS_DEVICE_TYPE_ERROR = 24
MW_STATUS_IS_DIRECTORY = 25
MW_STATUS_READ_ONLY = 26
MW_STATUS_RANGE_ERROR = 27
MW_STATUS_BROKEN_PIPE = 28
MW_STATUS_NO_SPACE = 29
MW_STATUS_NOT_DIRECTORY = 30
MW_STATUS_NOT_PERMITTED = 31
MW_STATUS_BAD_ADDRESS = 32
MW_STATUS_SEEK_ERROR = 33
MW_STATUS_CROSS_DEVICE_LINK = 34
MW_STATUS_NOT_INITIALIED = 35
MW_STATUS_AUTH_FAILED = 36
MW_STATUS_NOT_LOGGED_IN = 37
MW_STATUS_WRONG_STATE = 38
MW_STATUS_MISMATCH = 39
MW_STATUS_VERIFY_FAILED = 40
MW_STATUS_CONSTRAINT_VIOLATION = 41
MW_STATUS_CANCELED = 42
MW_STATUS_IN_PROGRESS = 43
MW_STATUS_CONN_REFUSED = 44
MW_STATUS_CONN_RESET = 45
MW_STATUS_ADDR_IN_USE = 46
MW_STATUS_NO_RESPONSE = 47
MW_STATUS_INFO_CHANGED = 48
MW_STATUS_INVALID_DATA = 49
MW_STATUS_NEED_MORE_DATA = 50
MW_STATUS_NO_BUFFER = 51
MW_STATUS_BUFFER_TOO_SMALL = 52
MW_STATUS_BUFFER_IS_EMPTY = 53
MW_STATUS_BUFFER_IS_FULL = 54
MW_STATUS_PULL_KEY_EXIST = 1001
MW_STATUS_PUSH_KEY_EXIST = 1002
MW_STATUS_OBJECT_ALREADY_EXIST = 1003
MW_STATUS_STATE_CHANGED = 1004
MW_STATUS_OBJECT_BUSY = 1005 = 1005
MW_STATUS_LICENSE_LIMIT = 1006
MW_STATUS_PORT_OCCUPIED = 1007
MW_STATUS_USR_GROUP_NOT_EXIST = 1008
}