LVCA_SetUserDataA / LVCA_SetUserDataW

Allows multiple user data/objects to be stored for each call

LVCA_API BOOL WINAPI LVCA_SetUserDataA(HANDLE hCA, LPVOID Param, LPCSTR Identifier = "");

LVCA_API BOOL WINAPI LVCA_SetUserDataW(HANDLE hCA, LPVOID Param, LPCWSTR Identifier = L"");

Defined as:

LVCA_SetUserDataByID

Return Value:

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

Supported on Events:

CAMSG_ENTERMODULE

CAMSG_REC_BEFORE_CONFIRM

CAMSG_REC_AFTER_CONFIRM

CAMSG_TIMEOUT

CAMSG_ERROR

CAMSG_CALLSTART

CAMSG_CALLSTOP

Params:

hCA (IN) The handle given by the event callback.

Param (IN) The pointer which the call’s User Data will be set to.

Identifier (IN) Unique Identifier for this user data

Notes:

The call is identical to LVCA_SetUserData when Identifier = "".


Complete Help Topic List | Speech Platform Product Information