Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Send Feedback on this topic to the authors