Note: As of July 2007, all functions relating to concept/phrase grammars have been deprecated in favor of SRGS grammars. These functions are subject to being removed in a future release. Please update your applications accordingly. See Using SRGS Grammars for more information on working with SRGS grammars.
This convenience function will identify a concept which has been added by LVCA_AddConcept or LVCA_AddStandardGrammar
LVCA_API BOOL WINAPI LVCA_IsCustomConceptA(HANDLE hCA, BOOL* IsCustom, LPCSTR Concept);
LVCA_API BOOL WINAPI LVCA_IsCustomConceptW(HANDLE hCA, BOOL* IsCustom, LPCWSTR Concept);
LVCA_IsCustomConcept
If successful,LVCA_IsCustomConceptA/LVCA_IsCustomConceptW returns true. If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.
CAMSG_REC_BEFORE_CONFIRM
hCA (IN) The handle given by the event callback.
IsCustom (OUT) The pointer to the BOOL which will receive the result.
Concept (IN) The concept retrieved by the LVCA_GetRawConcept.
Utilize this function when a module has a mix of preprogrammed concepts with custom-added concepts added with LVCA_AddConcept. When the concept is not custom, it should have a response set within the call flow and not need further evaluation.
CAPI Only mode: Not Applicable. All concepts are custom.
Complete Help Topic List | Speech Platform Product Information