Share via


ISpSREngine::IsPronounceable (Windows Embedded CE 6.0)

1/6/2010

This method determines if the SR engine can recognize a word. SAPI calls this method after an application calls ISpRecoGrammar::IsPronounceable.

Syntax

HRESULT IsPronounceable(
  void* pvDrvGrammar,
  const WCHAR* pszWord,
  SPWORDPRONOUNCEABLE* pfPronounceable
);

Parameters

  • pvDrvGrammar
    [in] Pointer to the grammar supported by the SR engine. The pointer is retrieved by a prior call to the ISpSREngine::OnCreateGrammar method.
  • pszWord
    [in] Pointer to the word to test.
  • pfPronounceable
    [out] Pointer to a value indicating the test results. Possible values are defined for the SPWORDPRONOUNCEABLE enumeration.

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

ISpSREngine
SAPI Interfaces