The following table shows the errors that can be returned by methods of the voice text object. If no error occurs, the methods return the NOERROR error value.
Error value |
Description |
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_INVALIDWINDOW | A window is invalid. |
VTXTERR_NOTENABLED | Voice text is not enabled. |
VTXTERR_NOTENOUGHDATA | The text stream has been rewound beyond the beginning or fast-forwarded past the end of the stream. |
VTXTERR_NOTSUPPORTED | The dialog box is not supported by the engine. |
VTXTERR_OUTOFMEM | There is not enough memory. |
VTXTERR_QUEUEFULL | The playback queue is full. |
VTXTERR_WAVEDEVICEBUSY | The wave device is busy. |
In addition to the error values described in the preceding list, methods can return error values generated by lower-level component objects or calls to the Win32 API.