This function will retrieve the last system error that occurred.
LVCA_API LONG WINAPI LVCA_GetLastSystemErrorA(LPSTR Message, LONG * Size);
LVCA_API LONG WINAPI LVCA_GetLastSystemErrorW(LPWSTR Message, LONG * Size);
LVCA_GetLastSystemError
If successful,LVCA_GetLastSystemErrorA/LVCA_GetLastSystemErrorW returns true. If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.
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.
CAMSG_CALLSTART
CAMSG_CALLSTOP
CAMSG_ENTERMODULE
CAMSG_REC_BEFORE_CONFIRM
CAMSG_REC_AFTER_CONFIRM
CAMSG_TIMEOUT CAMSG_ERROR
Message (IN) buffer to receive plain english description of last error.
Size (IN) Size of Message buffer
This is the last Windows system reported error
Complete Help Topic List | Speech Platform Product Information