# TTS_CAPS_T Structure (ttsapi.h)

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 constants defined in include file ttsapi.h:

PROPER_NAME_PRONUNCIATION