This method notifies the application that the engine did not recognize a spoken phrase, or recognized it as being from another application’s command set.
HRESULT CommandOther( PVCMDNAME pName, PTSTR pszCommand);
The return value is ignored.
Along with the notification method, the application receives the address of the phrase.
An application can use this notification to monitor utterances and inform the user what was heard. An application should not rely on this notification for information about the recognition of its own commands. Most applications ignore this notification.
The command string contains the words actually spoken by the user. If the command contains a list name, the command string may not match the words of the command. For example, the string pointed to by pszCommand might be “Send mail to Fred,” whereas the command string is “Send mail to name.”
The notification is sent only to applications that, when registered to use voice commands on the site, did one of the following:
If two or more voice menus contain the same phrase and this phrase is recognized, it is indeterminate which of the menus causes the engine to call the IVCmdNotifySink::CommandRecognize notification and which causes it to call CommandOther. This happens only if the menus are all global or all window-specific.