Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
ISpNotifyCallback::NotifyCallback
ISpNotifyCallback::NotifyCallback is implemented by the client of the SpEventSource object. When this method is called, the wParam and lParam parameters are set to the values specified by the client when it called ISpNotifySource::SetNotifyCallbackInterface. The client should examine the appropriate event source object for events.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT NotifyCallback(</strong> <strong> WPARAM</strong> <em>wParam</em>, <strong> LPARAM</strong> <em>lParam</em> <strong>);</strong> </pre>
Parameters
- wParam
[in] wParam parameter is specified by the client when it called the ISpEventSource::SetNotifyCallback interface. - lParam
[in] lParam parameter is specified by the client when it called the ISpEventSource::SetNotifyCallback interface.
Return Values
Clients should return S_OK. Other values may be used for debugging purposes, but will be ignored by SpEventSource objects.