LVCA_GetLastCallErrorA/LVCA_GetLastCallErrorW

This function retrieves the last error that occurred.

LVCA_API LONG WINAPI LVCA_GetLastCallErrorA(HANDLE hCA, LPSTR Message, LONG * Size);

LVCA_API LONG WINAPI LVCA_GetLastCallErrorW(HANDLE hCA, LPWSTR Message, LONG * Size);

Defined as:

LVCA_GetLastCallError

Return Value:

If successful,LVCA_GetLastCallErrorA/LVCA_GetLastCallErrorW returns true.

Errors Codes

CAMERR_INVALID_CALL_HANDLE
The call handle passed to LVCA was invalid.

CAMERR_BUFFER_SIZE_TOO_SMALL
Returned if the supplied buffer was too small to contain the requested data.

CAMERR_UNSUPPORTED_BY_EVENT
The LVCA function is not supported by the current event.

CAMERR_INDEX_OUT_OF_RANGE
The index supplied was out of the valid range.

CAMERR_MODULE_NOT_FOUND
The supplied module was not found in the Platform Project.

CAMERR_LIBRARY_AUDIO_NOT_FOUND
The supplied audio description was not found in the Platform Project.

CAMERR_MODULE_TYPE_NO_CONCEPT_SUPPORT
The current module does not support recognitions.

CAMERR_INVALID_GRAMMAR_SPECIFIED
The standard grammar specified was invalid.

Supported on Events:

CAMSG_CALLSTART

CAMSG_CALLSTOP

CAMSG_ENTERMODULE

CAMSG_REC_BEFORE_CONFIRM

CAMSG_REC_AFTER_CONFIRM

CAMSG_TIMEOUT

CAMSG_ERROR

Params:

hCA (IN) Call handle passed into function

Message (IN) A pointer to the string that will receive a plain english description of last error.

Size (IN) A pointer to a LONG containing the size of the Message buffer

Notes:


Complete Help Topic List | Speech Platform Product Information