Share via


ISpITNProcessor::ITNPhrase (Windows Embedded CE 6.0)

1/6/2010

This method parses an ITN phrase using the ITN grammar loaded by ISpITNProcessor::LoadITNGrammar. If a match is found during the parse, the ITN grammar adds the display text replacement. For example, "$100" is replaced for "one hundred dollars".

Syntax

HRESULT ITNPhrase(
  ISpPhraseBuilder* pPhrase
);

Parameters

  • pPhrase
    [in] Pointer to an object implementing ISpPhraseBuilder that contains the phrase to parse.

Return Value

The following table shows the possible return values.

Value Description

S_OK

Function completed successfully.

E_INVALIDARG

No words are available.

SP_NO_RULE_ACTIVE

No rules are available.

E_OUTOFMEMORY

Not enough memory to complete operation.

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

ISpITNProcessor
SAPI Interfaces