Helper SpCreatePhoneConverter (SAPI 5.4)

Microsoft Speech API 5.4

SpCreatePhoneConverter

SpCreatePhoneConverter creates a directly converted phone. Calls the helper function SpCreateBestObject with the category of SPCAT_PHONECONVERTERS.

Found in: sphelper.h

  
    SpCreatePhoneConverter(
   LANGID            *langid,
   const WCHAR       *pszReqAttribs,
   const WCHAR       *pszOptAttribs,
ISpPhoneConverter  ppPhoneConverter
);

Parameters

  • langid
    [in] The language ID of the word. May not be NULL or zero.
  • pszReqAttribs
    [in] The null-terminated string of required attributes for the token.
  • pszOptAttribs
    [in] The null-terminated string of optional attributes for the token.
  • ppPhoneConverter
    [out] The converted phone interface.

Return values

Value
S_OK
E_INVALIDARG
FAILED (hr)