Export (0) Print
Expand All

ISpPhoneticAlphabetSelection::IsAlphabetUPS (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpPhoneticAlphabetSelection::IsAlphabetUPS

Returns whether the component is using UPS or SAPI.

Call this function to determine if pronunciations returned by GetPronunciations are in the UPS (Universal Phone Set) or in the SAPI phonetic alphabet.

Applications can change the alphabet via the SetAlphabetToUPS method. If an application does not explicitly set the alphabet with SetAlphabetToUPS, the alphabet specified in the lexicon file is used.


HRESULT IsAlphabetUPS(
   BOOL            *pfIsUPS
);

Parameters

pfIsUPS
[out] true if the current alphabet is UPS; otherwise false.

Return values

ValueDescription
S_OKFunction completed successfully.
Show:
© 2014 Microsoft