# TTS_BUFFER_T Structure (ttsapi.h)

This structure is allocated by the calling application and passed to the text-to-speech system through the TextToSpeechAddBuffer() call.

typedef struct TTS_BUFFER_TAG
{
LPSTR lpData;
LPTTS_PHONEME_T lpPhonemeArray;
LPTTS_INDEX_T lpIndexArray;
DWORD dwMaximumBufferLength;
DWORD dwMaximumNumberOfPhonemeChanges;
DWORD dwMaximumNumberOfIndexMarks;
DWORD dwBufferLength;
DWORD dwNumberOfPhonemeChanges;
DWORD dwNumberOfIndexMarks;
DWORD dwReserved;
} TTS_BUFFER_T;
typedef TTS_BUFFER_T * LPTTS_BUFFER_T;