Click to Rate and Give Feedback
MSDN
MSDN Library
Speech Technologies
Windows
Eventing Interfaces
ISpNotifySource
 ISpNotifySource::SetNotifyWindowMes...
ISpNotifySource::SetNotifyWindowMessage (SAPI 5.3)
Microsoft Speech API 5.3

ISpNotifySource::SetNotifyWindowMessage

ISpNotifySource::SetNotifyWindowMessage sets up the instance to send window messages to a specified window.

HRESULT SetNotifyWindowMessage(
   HWND     hWnd,
   UINT     Msg,
   WPARAM   wParam,
   LPARAM   lParam
);

Parameters

hWnd
[in] Handle to the window whose message handler function will receive SAPI notifications.
Msg
[in] Message number which will be passed into the message handler function of the window hWnd.
wParam
[in] wParam that will be passed into the message handler function of the window hWnd.
lParam
[in] lParam that will be passed into the message handler function of the window hWnd.

Return values

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGhWnd is an invalid window handle.
FAILED (hr)Appropriate error message.
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker