Microsoft Speech SDK
SAPI 5.1
ISpRecoGrammar::UnloadDictation
ISpRecoGrammar::UnloadDictation unloads the active dictation topic from the grammar.
HRESULT UnloadDictation ( void );
Parameters
None.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
FAILED(hr) | Appropriate error message. |
Remarks
If an application uses a CFG with dictation tags, and then unloads the dictation grammar component, the dictation tags will default to the generic dictation topic (see ISpRecoGrammar::LoadDictation).