LVCA_GetPhonemeA / LVCA_GetPhonemeW

LVCA_API BOOL WINAPI LVCA_GetPhonemeA(HANDLE hCA, LONG Index, LPSTR Phoneme, LONG* PhomeneSize);

LVCA_API BOOL WINAPI LVCA_GetPhonemeW(HANDLE hCA, LONG Index, LPWSTR Phoneme, LONG* PhomeneSize);

Defined as:

LVCA_GetPhoneme

Return Value:

If successful, LVCA_GetPhonemeA / LVCA_GetPhonemeW 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)

Phoneme (OUT) Filled with concept string.

PhomeneSize (IN) (OUT) Size of Concept.

Notes:

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