BOOL LVCA_IsSRGSGrammarLoadedA(HANDLE hCA, LPCSTR gram_name, BOOL * loaded);
hCA
The call being queried forgram_name.
gram_name
The identifier for the grammar being queried. This is the same identifier you gave the grammar when you loaded it.
loaded (OUT)
TRUE if a grammar was found with the label gram_name in the space of application-level grammars; FALSE otherwise.
If successful, LVCA_IsSRGSGrammarLoaded returns true. If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.
Note: This function only tells you if a grammar with the name gram_name is loaded. It does not tell you if there are two identical grammar bodies loaded.
Complete Help Topic List | Speech Platform Product Information