Partager via


ISpSREngineSite2::AddEventEx (SAPI 5.3)

Microsoft Speech API 5.3

ISpSREngineSite2::AddEventEx

ISpSREngineSite::AddEventEx is used to send extended events to the applications.

  
    HRESULT AddEvent(
   const SPEVENTEX       *pEvent,
   SPRECOCONTEXTHANDLE    hSAPIRecoContext
);

Parameters

  • pEvent
    The event.
  • hSAPIRecoContext
    The handle to the reco context.

Return values

Value
S_OK
E_INVALIDARG
SPERR_STREAM_POS_INVALID