Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpRecoContext::GetVoicePurgeEvent

ISpRecoContext::GetVoicePurgeEvent retrieves the set of speech recognition (SR) engine events that stop audio output, and purges the current speaking queue. The events are set by ISpRecoContext::SetVoicePurgeEvent.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetVoicePurgeEvent(</strong> <strong> ULONGLONG</strong> *<em>pullEventInterest</em> <strong>);</strong> </pre>

Parameters

  • pullEventInterest
    [out] The set of flags indicating the event interests. The event interests will be a member of the SR event set (see SPFEI_ALL_SR_EVENTS).

Return Values

Value Description
S_OK Function completed successfully.
E_POINTER pullEventInterest is invalid or bad.
FAILED(hr) Appropriate error message.