Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpEventSink::AddEvents
ISpEventSink::AddEvents adds events directly to an event sink.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT AddEvents(</strong> <strong> const SPEVENT</strong> <em>*pEventArray</em>, <strong> ULONG</strong> <em>ulCount</em> <strong>);</strong> </pre>
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. |