ISpVoice::Resume

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

ISpVoice::Resume

ISpVoice::Resume sets the output device to the RUN state and resumes rendering.

Decrements the pause count (which is incremented by ISpVoice::Pause) if the voice is currently paused. If the pause count hits zero, Resume attempts to reclaim the output device and resumes rendering. This method has no effect if the voice was not in a paused state.

HRESULT  Resume  ( void );

Parameters

None.

Return values

Value Description
S_OK Function completed successfully.
FAILED(hr) Appropriate error message.