Share via


ISpNotifySink::Notify (SAPI 5.4)

Microsoft Speech API 5.4

ISpNotifySink::Notify

ISpNotifySink::Notify is called by an ISpNotifySource object to notify the sink when the state of the notify source has changed.

  
    HRESULT   Notify  ( void );
  

Parameters

None

Return values

Value
S_OK
FAILED(hr)

Remarks

The only interface that can be called on an event source object is ISpEventSource::GetEvents. The Notify() method should only signal another thread to process the notification (for example, a Win32 event or an I/O completion port), and if needed, call ISpEventSource::GetEvents. Do not call any other methods.