This method gets the SR engine events that stop audio output, and purges the current speaking queue. The events are set by ISpRecoContext::SetVoicePurgeEvent.
HRESULT GetVoicePurgeEvent( ULONGLONG* pullEventInterest );
[out] Pointer to a set of flags indicating event interests, which are members of the SR engine event set. Possible events are defined by the SPEVENTENUM enumeration.
The following table shows the possible return values.
|S_OK||Function completed successfully.|
|E_POINTER||pullEventInterest is invalid or bad.|
|FAILED(hr)||Appropriate error message.|
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.