Rate This Document
Findability
Accuracy
Completeness
Readability

Error Codes

Table 1 Error codes

Error Code

Value

Description

VMI_SUCCESS

0

The function is successfully implemented.

VMI_TOUCH_CLIENT_SENDHOOK_REGISTER_FAIL

0x0A010001

The touch engine client fails to register the data sending function.

VMI_AUDIO_ENGINE_CLIENT_RECV_FAIL

0x0A030001

The audio engine client fails to receive data.

VMI_AUDIO_ENGINE_CLIENT_START_FAIL

0x0A030002

The audio engine client fails to start audio playing.

VMI_AUDIO_ENGINE_CLIENT_STOP_FAIL

0x0A030003

The audio engine client fails to stop audio playing.

VMI_AUDIO_CLIENT_SENDHOOK_REGISTER_FAIL

0x0A030004

The audio engine client fails to register the data sending hook function.

VMI_AUDIO_CLIENT_SAVEHOOK_REGISTER_FAIL

0x0A030005

The audio engine client fails to register the data saving hook function.

VMI_CLIENT_RECV_ORDER_FAIL

-5

The execution order of the data receiving function on the video stream engine client is invalid.

VMI_CLIENT_RECV_MEMCPY_FAILED

-4

The data receiving function of the video stream engine client fails to copy memory.

VMI_CLIENT_RECV_LENGTH_NO_MATCH

-3

The length of data input by the receiving function of the video stream engine client is less than the length of the received data.

VMI_CLIENT_RECV_DATA_NULL

-2

The data received by the video stream engine client is null, and there is no data currently.

VMI_CLIENT_RECV_INVALID_PAPAM

-1

The input parameter of the receiving function of the video stream engine client is invalid.

VMI_CLIENT_INVALID_PARAM

0x0A050001

The parameter of the video stream engine client is invalid.

VMI_CLIENT_START_FAIL

0x0A050002

The video stream engine client fails to be started.

VMI_CLIENT_ALREADY_STARTED

0x0A050003

The video stream engine client is already started.

VMI_CLIENT_STOP_FAIL

0x0A050004

The video stream engine client fails to be stopped.

VMI_CLIENT_SEND_HOOK_REGISTER_FAIL

0x0A050005

The video stream engine client fails to register the hook function.

VMI_CLIENT_SEND_FAIL

0x0A050006

The video stream engine client fails to send data.

VMI_CLIENT_SEND_AGAIN

0x0A050007

The video stream engine client resends data.

VMI_CLIENT_INITIALIZE_FAIL

0x0A050008

The video stream engine client fails to be initialized.

VMI_CLIENT_EXEC_ORDER_FAIL

0x0A050009

The execution order of the video stream engine client is incorrect.

VIDEO_ENCODER_SUCCESS

0x00

The encoder successfully encodes data.

VIDEO_ENCODER_CREATE_FAIL

0x01

An encoder fails to be created.

VIDEO_ENCODER_INIT_FAIL

0x02

The encoder fails to be initialized.

VIDEO_ENCODER_START_FAIL

0x03

The encoder fails to be started.

VIDEO_ENCODER_ENCODE_FAIL

0x04

The encoder fails to encode data.

VIDEO_ENCODER_STOP_FAIL

0x05

The encoder fails to be stopped.

VIDEO_ENCODER_DESTROY_FAIL

0x06

The encoder fails to be destroyed.

VIDEO_ENCODER_REGISTER_FAIL

0x07

The encoder fails to register the function.

VIDEO_ENCODER_RESET_FAIL

0x08

The encoder fails to be reset.