This structure is used by the TextToSpeechGetCaps call to store language and proper name support, the sample rate, the minimum and maximum speaking rates, the number of predefined speaking voices, the character-set supported, and the version number.
typedef struct TTS_CAPS_TAG
{
DWORD dwNumberOfLanguages;
LPLANGUAGE_PARAMS_T lpLanguageParamsArray;
DWORD dwSampleRate;
DWORD dwMinimumSpeakingRate;
DWORD dwMaximumSpeakingRate;
DWORD dwNumberOfPredefinedSpeakers;
DWORD dwCharacterSet;
DWORD Version;
} TTS_CAPS_T;
typedef TTS_CAPS_T * LPTTS_CAPS_T;
The *lpLanguageParamsArray element is a pointer to an array of structures of type LANGUAGE_PARAMS_T. The "dwNumberOfLanguages" element contains the number of elements in this array. The dwLanguage element of each structure in this array equals one of the supported languages. Currently, only the following value will be returned in the dwLanguage element.
TTS_AMERICAN_ENGLISH
The dwLanguageAttributes element of each structure can contain the following constant, defined in include file ttsapi.h:
PROPER_NAME_PRONUNCIATION