This will retrieve the current module name.
LVCA_API BOOL WINAPI LVCA_GetCurrentModuleA(HANDLE hCA, LPSTR Module, LONG * Size);
LVCA_API BOOL WINAPI LVCA_GetCurrentModuleW(HANDLE hCA, LPWSTR Module, LONG * Size);
LVCA_GetCurrentModule
If successful,LVCA_GetCurrentModuleA/LVCA_GetCurrentModuleW returns true. If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.
CAMSG_ENTERMODULE
CAMSG_REC_BEFORE_CONFIRM
CAMSG_REC_AFTER_CONFIRM
CAMSG_TIMEOUT CAMSG_ERROR
hCA (IN) The handle given by the event callback.
Module (OUT) The pointer to fill with the current module name.
Size (IN) (OUT) A pointer to a LONG containing size of the Module buffer.
CAPI Only mode: This value will always be "CFECI_Custom_Mod"
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