LVCA_GetRawTextA / LVCA_GetRawTextW

LVCA_API BOOL WINAPI LVCA_GetRawTextA(HANDLE hCA, LONG Index, LPSTR RawText, LONG* RawTextSize);

LVCA_API BOOL WINAPI LVCA_GetRawTextW(HANDLE hCA, LONG Index, LPWSTR RawText, LONG* RawTextSize);

Defined as:

LVCA_GetRawText

Return Value:

If successful,LVCA_GetRawTextA / LVCA_GetRawTextW returns true.  If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.

Supported on Events:

CAMSG_REC_BEFORE_CONFIRM

Params:

hCA (IN) Call handle passed into function

Index (IN) range = 0 to (count - 1)

RawText (OUT) Filled with concept string.

RawTextSize (IN) (OUT) Size of RawText.

Notes:

The raw text is the translated BNF path identified.

If BNF is not utilized the return is identical to LVCA_GetPhrase.

Warning: The Size parameter will be set to the size of the string returned.  Set this value before each call if it is used in multiple calls.


Complete Help Topic List | Speech Platform Product Information