GetFrom

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

CSpEvent::GetFrom

CSpEvent::GetFrom clears the current instance and retrieves the next event from the event queue.


HRESULT GetFrom(
   ISpEventSource   *pEventSrc
)

Parameters

pEventSrc
The event object from which to get the next event.

Return values

Value Description
S_OK Function completed successfully and all requested events were returned.
S_FALSE Success, but less than the requested amount of events were returned.
E_POINTER pEventArray is invalid.
FAILED(hr) Appropriate error message.