Share via


ISpRecoContext::GetVoicePurgeEvent

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
);

Parameters

  • 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.

Return Values

The following table shows the possible return values.

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

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
Link Library: Sapilib.lib.

See Also

ISpRecoContext | SAPI Interfaces

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.