ISpRecoGrammar::UnloadDictation (Windows Embedded CE 6.0)

1/6/2010

This method unloads the dictation grammar from the current SpRecoGrammar object.

Syntax

HRESULT  UnloadDictation(void);

Parameters

None.

Return Value

The following table shows the possible 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).

Requirements

Header sapi.h, sapi.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpRecoGrammar
SAPI Interfaces