ISpVoice::Pause (Windows CE 5.0)
This method pauses the voice at the nearest alert boundary and closes the output device, allowing access to pending speak requests from other voices. The voice maintains a pause count, so each call to pause must be balanced with a corresponding call to ISpVoice::Resume. The default alert boundary is at the beginning of each word.
HRESULT Pause(void);
Parameters
None.
Return Values
The following table shows the possible return values.
Value | Description |
---|---|
S_OK | Function completed successfully. |
FAILED(hr) | Appropriate error message |
Remarks
Calling this method while the voice is not speaking increments the pause count and will put the voice into a paused state until ISpVoice::Resume is called the same number of times.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.
See Also
ISpVoice::SetAlertBoundary | ISpVoice | SAPI Interfaces
Send Feedback on this topic to the authors