Microsoft Speech Platform
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 | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | pullEventInterest is invalid or bad. |
FAILED(hr) | Appropriate error message. |