IVTxtNotifySink::Speak

HRESULT Speak(PTSTR pszText, PTSTR pszApplication, DWORD dwType);

Notifies all applications on a voice-text site that an application has added text to the playback queue for the site.

· Return value is ignored.

pszText

[in] Address of the string added to the playback queue.

pszApplication

[in] Address of a string containing the name of the application that added text to the playback queue.

dwType

[in] Type of text added to the playback queue. For a list of possible values, see the description of the dwFlags parameter of the IVoiceText::Speak member function.

The notification is sent only to applications that set the dwFlags parameter of the IVoiceText::Register member function to the VTXTF_ALLMESSAGES value when the application registered to use voice text on the site.