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.
1/6/2010
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 |