Share via


ISpITNProcessor::LoadITNGrammar

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method loads an ITN grammar. The loaded grammar can be used by either SAPI or a speech recognition (SR) engine.

Syntax

HRESULT LoadITNGrammar(
  WCHAR* pszCLSID
);

Parameters

  • pszCLSID
    [in] Pointer to a null-terminated string specifying the class identifier (CLSID) of the ITN grammar object. This object implements the ISpCFGInterpreter interface.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_POINTER

pszCLSID is invalid or bad.

FAILED(hr)

Appropriate error message.

Requirements

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

See Also

Reference

ISpITNProcessor
SAPI Interfaces