Share via


ISpCFGInterpreter::Interpret

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

See Also

Reference

ISpCFGInterpreter
SAPI Interfaces