Partager via


ISpVoice::Resume (SAPI 5.3)

Microsoft Speech API 5.3

ISpVoice::Resume

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

It 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
S_OK
FAILED(hr)