ISpNotifySink::Notify

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

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 Description
S_OK Function completed successfully.
FAILED(hr) Object failed notification.

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.