IVTxtAttributes::EnabledSet

This method sets whether voice text is enabled for a voice text site.

Syntax

HRESULT EnabledSet( DWORD dwEnabled);

Parameters

dwEnabled
[in] Specifies whether voice text is enabled. TRUE indicates that voice text is enabled for the site; FALSE indicates it is disabled.

Return Values

NOERROR
The method successfully set whether voice text is enabled for a voice text site.
VTXTERR_INVALIDMODE
The text-to-speech mode is invalid, or the application has not been registered to use the voice text on the site.
VTXTERR_INVALIDPARAM
A parameter is invalid.
VTXTERR_OUTOFMEM
There is not enough memory.

Remarks

The enabled state for a site is saved between uses of the site, even if the user shuts down the computer in the meantime.

See Also

IVTxtAttributes::EnabledGet