Constant | Value | Expain |
ERROR_OK | 0 | Success |
ERROR_UNKNOWN | -1 | Unknown error |
ERROR_NO_IMPLEMENT | -2 | The specified function is not implemented |
ERROR_INTERNAL | -3 | Internal system error, such as memory allocation, thread creation, create a socket error |
ERROR_BLOCKED | -4 | The specified operation because of busy rejected |
ERROR_OUT_OF_RANGE | -5 | The specified range of operating beyond the ability of library |
ERROR_BAD_PARAM | -6 | The parameter is invalid |
ERROR_BAD_STATUS | -7 | The current state is not allowed to execute the specified operation |
ERROR_BAD_ID | -8 | The connected device ID with the specified device does not match the ID |
ERROR_BAD_PACKET | -9 | The received packet is not in the correct format |
ERROR_CONN_ABORTED | -10 | Network error connection |
ERROR_CONN_CLOSED | -11 | The other active disconnect |
ERROR_CONN_FAILED | -12 | Connection failed |
ERROR_CONN_TIMEOUT | -13 | Connection disconnect timeout |
ERROR_DEVICE_BAD_AUTH | -14 | The device returns: user authentication error |
ERROR_DEVICE_TOO_MANY_SESSIONS | -15 | Return of equipment: the current session too much |
ERROR_DEVICE_INTERNAL | -16 | Return of equipment: internal error |
ERROR_DEVICE_BAD_PARAM | -17 | Return of equipment: the parameter is invalid |
ERROR_DEVICE_FORBIDDEN | -18 | Return of equipment: the current operation is prohibited |
ERROR_DEVICE_OPERATION_FAIL | -19 | Return of equipment: operation failed |
ERROR_DEVICE_BAD_STATUS | -20 | Return of equipment: the current state is not allowed to execute the specified operation |
ERROR_DEVICE_UNKNOWN | -21 | Return of equipment: unknown error |