::NotifyCallback
Collapse the table of content
Expand the table of content

ISpNotifyCallback::NotifyCallback (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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.

HRESULT NotifyCallback(
   WPARAM   wParam,
   LPARAM   lParam
);

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.

Show:
© 2016 Microsoft