IVTxtAttributes::TTSModeSet

HRESULT TTSModeSet(GUID gVoice);

Sets the text-to-speech mode for a voice-text site.

· Returns NOERROR if successful, or one of these error values:

VTXTERR_INVALIDMODE
VTXTERR_INVALIDPARAM
VTXTERR_OUTOFMEM

gVoice

[in] GUID of the text-to-speech mode to set for the site. If the mode does not exist, an error is returned and the mode is not changed.

The text-to-speech mode for a site is saved between uses of the site, even if the user shuts down the computer in the meantime.

If a voice-navigation application is installed on the user's computer, an application may not need to set the mode.