GetFrom (SAPI 5.4)
Speech API 5.4
CSpEvent::GetFrom clears the current instance and retrieves the next event from the event queue.
HRESULT GetFrom( ISpEventSource *pEventSrc )
- The event object from which to get the next event.
|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.|