Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method informs the SR engine that a speech recognition grammar has been deleted. SAPI calls this method any time rules or a loaded SLM in the grammar are removed.
HRESULT OnDeleteGrammar( void* pvEngineGrammar);
Parameters
- pvEngineGrammar
[in] Pointer to the grammar that has been deleted. The pointer is retrieved in a prior call to the ISpSREngine::OnCreateGrammar method.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
FAILED(hr) | Appropriate error message. |
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.
See Also
Send Feedback on this topic to the authors