CopyFrom

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

CSpEvent::CopyFrom

CSpEvent::CopyFrom clears the current instance and copies the next event in the event queue to this instance.


HRESULT CopyFrom(
   const SPEVENT   *pSrcEvent
)

Parameters

pSrcEvent
[ in ] The event of which to copy from.

Return values

Value Description
S_OK Function completed successfully.
E_OUTOFMEMORY Exceeded available memory.