Export (0) Print
Expand All

ISpPhoneticAlphabetSelection::SetAlphabetToUPS (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpPhoneticAlphabetSelection::SetAlphabetToUPS

Sets the alphabet to be used by GetPronunciations.

Call this method to specify the phonetic alphabet that the GetPronunciations method uses to return pronunciations.

A successful call does not imply that pronunciations will be converted successfully. GetPronunciations will fail if the pronunciations cannot be converted to the specified alphabet.


HRESULT SetAlphabetToUPS(
   BOOL         fForceUPS
);

Parameters

fForceUPS
true if pronunciations should be returned in the UPS alphabet; false if pronunciations should be returned in the SAPI alphabet.

Return values

ValueDescription
S_OKFunction completed successfully.
Show:
© 2014 Microsoft