ISpPhoneticAlphabetSelection::SetAlphabetToUPS (SAPI 5.4)

Microsoft Speech API 5.4


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


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

Return values