Removes all loaded grammars from a speech port.
Function
- int LV_SRE_UnloadGrammars(HPORT hport)
Parameters
hport
The handle for the speech port which holds the grammars you want to unload.
Return Values
LV_SUCCESS
No errors; all grammars are removed.
LV_INVALID_HPORT
The input hport is not a valid one.
LV_EXCEPTION
An exception occurred while processing the request.
Remarks
When you unload a grammar that has been activated, it will automatically be deactivated.
See Also