IVCmdNotifySink::MenuActivate

HRESULT MenuActivate(PVCMDNAME pName, BOOL bActive);

Notifies applications on a voice-command site that a voice menu has been activated or deactivated, either explicitly by the application or as a result of the user switching to or from the window associated with the menu.

· Return value is ignored.

pName

[in] Address of a VCMDNAME structure identifying the voice menu that was activated or deactivated.

bActive

[in] TRUE if the voice menu was activated or FALSE if the menu was deactivated.

The notification is sent only to applications that set the dwFlags parameter of the IVoiceCmd::Register member function to the VCMDRF_ALLMESSAGES or VCMDRF_ALLBUTVUMETER value when the application registered to use voice commands on the site. Most applications will ignore this notification.