CopyFrom (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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.