次の方法で共有


CopyFrom (SAPI 5.3)

Microsoft Speech API 5.3

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
S_OK
E_OUTOFMEMORY