API Status Codes
{
0: MW_STATUS_SUCCESS,
1: MW_STATUS_PENDING,
2: MW_STATUS_TIMEOUT,
3: MW_STATUS_INTERRUPTED,
4: MW_STATUS_TRY_AGAIN,
5: MW_STATUS_NOT_IMPLEMENTED,
6: MW_STATUS_UNKNOWN_ERROR,
7: MW_STATUS_INVALID_ARG,
8: MW_STATUS_NO_MEMORY,
9: MW_STATUS_UNSUPPORTED,
10: MW_STATUS_FILE_BUSY,
11: MW_STATUS_DEVICE_BUSY,
12: MW_STATUS_DEVICE_LOST,
13: MW_STATUS_IO_FAILED,
14: MW_STATUS_READ_FAILED,
15: MW_STATUS_WRITE_FAILED,
16: MW_STATUS_NOT_EXIST,
17: MW_STATUS_TOO_MANY,
18: MW_STATUS_TOO_LARGE,
19: MW_STATUS_OVERFLOW,
20: MW_STATUS_UNDERFLOW,
21: MW_STATUS_FORMAT_ERROR,
22: MW_STATUS_FILE_EXISTS,
23: MW_STATUS_FILE_TYPE_ERROR,
24: MW_STATUS_DEVICE_TYPE_ERROR,
25: MW_STATUS_IS_DIRECTORY,
26: MW_STATUS_READ_ONLY,
27: MW_STATUS_RANGE_ERROR,
28: MW_STATUS_BROKEN_PIPE,
29: MW_STATUS_NO_SPACE,
30: MW_STATUS_NOT_DIRECTORY,
31: MW_STATUS_NOT_PERMITTED,
32: MW_STATUS_BAD_ADDRESS,
33: MW_STATUS_SEEK_ERROR,
34: MW_STATUS_CROSS_DEVICE_LINK,
35: MW_STATUS_NOT_INITIALIED,
36: MW_STATUS_AUTH_FAILED,
37: MW_STATUS_NOT_LOGGED_IN,
38: MW_STATUS_WRONG_STATE,
39: MW_STATUS_MISMATCH,
40: MW_STATUS_VERIFY_FAILED,
41: MW_STATUS_CONSTRAINT_VIOLATION
}