Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpNotifySink::Notify

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

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT Notify ( void );</strong> </pre>

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.