GetFrom (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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.