This method sets options for message notifications.
HRESULT IAPCSpeech::SetMsgOptions ( DWORD dwFlags, DWORD dwVCmdOpt, DWORD dwVTxtOpt );
VCMDRF_CMDOTHER |
VCMDRF_CMDSTART |
VTXTF_SPEAKSTART |
VTXTF_SPEAKDONE |
An appropriate HRESULT value is returned.
By default, the applications always receive the following speech notifications:
SetMsgOptions can be used to enable an application to receive in wParam the four additional WM_SPCH_NOTIFY messages set in dwVCmdOpt and dwVCmdOpt.
Once SetMsgOptions has been called with VTXTF_SPEAKSTART, VTXTF_SPEAKSTOP, or both, it cannot be called again to reset the option.