LVCA_GetPhraseA / LVCA_GetPhraseW

LVCA_API BOOL WINAPI LVCA_GetPhraseA(HANDLE hCA, LONG Index, LPSTR Phrase, LONG* PhraseSize);

LVCA_API BOOL WINAPI LVCA_GetPhraseW(HANDLE hCA, LONG Index, LPWSTR Phrase, LONG* PhraseSize;

Defined as:

LVCA_GetPhrase

Return Value:

If successful,LVCA_GetPhraseA / LVCA_GetPhraseW 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)

Phrase (OUT) Filled with Phrase string.

PhraseSize (IN) (OUT) Size of Phrase.

Notes:

Warning: The PhraseSize 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