LVCA_GetLastSystemError

This function will retrieve the last system error that occurred.

 

LVCA_GetLastSystemErrorA(HANDLE hCA, LPSTR Message, LONG * Size);

LVCA_GetLastSystemErrorW(HANDLE hCA, LPWSTR Message, LONG * Size);

 

Return Value

 

This function will return the error code.  A return of zero indicates no error.

 

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.

 

Parameters

 

hCA

The handle given by the event callback.

 

Message

A pointer to the string that will be filled with the error string.

 

Size

A pointer to a LONG containing the size of the Message buffer.

 

Remarks

 

 

 


Complete Help Topic List | Speech Platform Product Information