ISpCFGInterpreter::Interpret (Windows CE 5.0)
This method examines a grammar and generates new properties and text replacements.
HRESULT Interpret( ISpPhraseBuilder* pPhrase, const ULONG ulFirstElement, const ULONG ulCountOfElements, ISpCFGInterpreterSite* pSite);
Parameters
- pPhrase
[in] Pointer to an object implementing ISpPhraseBuilder that contains the phrase information. - ulFirstElement
[in] Location of the first element in the phrase specified by pPhrase. - ulCountOfElements
[in] Number of elements in the phrase specified by pPhrase. - pSite
[in] Pointer to an object implementing ISpCFGInterpreterSite that can be used to attach semantic properties or text replacements to the parent phrase.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
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
ISpCFGInterpreter | SAPI Interfaces
Send Feedback on this topic to the authors