Export (0) Print
Expand All

Helper SpCreatePhoneConverter (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGlangid equals zero.
FAILED (hr)Appropriate error message.
Show:
© 2014 Microsoft