Microsoft Speech Platform
ISpEventSink::AddEvents
ISpEventSink::AddEvents adds events directly to an event sink.
HRESULT AddEvents(
const SPEVENT *pEventArray,
ULONG ulCount
);
Parameters
- pEventArray
- Pointer to an array of SPEVENT event structures.
- ulCount
- Number of event structures being passed in.
Return values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_INVALIDARG | pEventArray is bad or invalid |
FAILED(hr) | Appropriate error message. |