ISpCFGInterpreter::Interpret (Windows Embedded CE 6.0)
1/6/2010
This method examines a grammar and generates new properties and text replacements.
Syntax
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 Value
The following table shows the possible return values.
Value | Description |
---|---|
S_OK |
Function completed successfully. |
FAILED(hr) |
Appropriate error message. |
Requirements
Header | sapiddk.h, sapiddk.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |