VOID DRV_GetErrorMessage ( INT32S ErrorCode, BYTE * ErrorMsg );
Retrieves the corresponding error message by the specified error code.
| Name | Direction | Range | Description |
| ErrorCode | input | default | The error code returned by the driver. |
| ErrorMsg | output | default | The storage address for error message. The user has to allocate a minimum of 80-byte space for the returned error message. |
| 1. "Fail to Get Error Message" | It fails to allocate the buffer. |
| 2. "Invalid Error Code" | The error code is out of range. |
| 3. Other value | Please reference ErrorCodes |
Please refer to the appendix for the ErrorCode and the ErrorMsg: Error Codes.