Compartilhar via


ISpSREngine::IsPronounceable (Windows CE 5.0)

Send Feedback

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

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 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

ISpSREngine | SAPI Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.