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 loads an ITN grammar. The loaded grammar can be used by either SAPI or a speech recognition (SR) engine.
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 Values
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
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapiddk.h, Sapiddk.idl.
Link Library: Sapilib.lib.
See Also
ISpITNProcessor | SAPI Interfaces
Send Feedback on this topic to the authors