Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
CSpEvent::CopyFrom
CSpEvent::CopyFrom clears the current instance and copies the next event in the event queue to this instance.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT CopyFrom( const <a runat="server" href="jj127868(v=msdn.10).md">SPEVENT</a></strong> *<em>pSrcEvent</em> )</pre>
Parameters
- pSrcEvent
[ in ] The event of which to copy from.
Return Values
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_OUTOFMEMORY | Exceeded available memory. |