Clears the active grammar set.
- int LV_SRE_DeactivateGrammars(HPORT hport)
The handle of the speech port for which you are deactivating grammars.
All grammars in the active grammar set have been deactivated.
The call failed because the port was shutting down.
The input hport is not a valid one.
An exception occurred while processing the request.
Unlike the speechport client, it is not necessary for all grammars to be deactivated before the termination of the program. Because of this, you only need to deactivate grammars to change how your interpretations are generated.