ISpVoice::Pause (Windows Embedded CE 6.0)
1/6/2010
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.
Syntax
HRESULT Pause(void);
Parameters
None.
Return Value
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
Header | sapi.h, sapi.idl |
Library | sapilib.lib |
Windows Embedded CE | Windows CE .NET 4.1 and later |