Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.4
ISpPhoneticAlphabetConverter::GetMaxConvertLength
Gets the maximum length of a string after conversion.
The length returned is measured in phonemes, and includes the terminating null.
HRESULT GetMaxConvertLength(
DWORD cSrcLength
BOOL bSAPI2UPS
DWORD *pcMaxDestLength
);
Parameters
- cSrcLength
The length of the string to be converted. - bSAPI2UPS
TRUE if converting from SAPI to UPS; FALSE if converting from UPS to SAPI. - pcMaxDestLength
[out] The maximum length of the string after conversion.
Return values
| Value |
| SPERR_UNINITIALIZED |
| S_OK |