ISpRecoContext::GetVoicePurgeEvent (SAPI 5.4)

Microsoft Speech API 5.4

ISpRecoContext::GetVoicePurgeEvent

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

 


HRESULT GetVoicePurgeEvent(
  ULONGLONG   *pullEventInterest
);

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