Share via


ISpRecoGrammar::UnloadDictation (SAPI 5.3)

Microsoft Speech API 5.3

ISpRecoGrammar::UnloadDictation

ISpRecoGrammar::UnloadDictation unloads the active dictation topic from the grammar.

  
    HRESULT  UnloadDictation  ( void );

Parameters

None.

Return values

Value
S_OK
FAILED(hr)

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).