(Page 3 of 5 in this chapter)
typedef struct_DISP_EVENT
{
DWORD id; /* event id (LIBEVN_xxx in 'libdef.h') */ CTAHD ctahd; /* CTA context handle */ DWORD timestamp; /* timestamp */ DWORD userid; /* use-supplied id */ DWORD size; /* size of buffer if buffer is not NULL */ /* otherwise, may contain event-specific data */ void *buffer; /* buffer pointer */ DWORD value; /* Event status or event-specific data */ DWORD reserved; /* must be 0 */ } CTA_EVENT;
Reason
Description
CTA_REASON_FINISHED
Function execution has finished successfully.
CTA_REASON_STOPPED
Text-to-speech has stopped because ttsStop has successfully executed.
(Page 3 of 5 in this chapter)