IASForm::get_VoiceMenu

This method gets the voice menu currently associated with the form.

Syntax

HRESULT get_VoiceMenu( IUnknown **ppUnknownVoiceMenu );

Parameters

ppUnknownVoiceMenu
Pointer to the pointer to the voice menu.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

Once a voice menu is attached to a form, it is automatically activated or deactivated by the Forms Manager when focus changes for the form or application. This eliminates the need for applications to activate or deactivate their own voice menus when they receive a WM_ACTIVATE message.

See Also

IASForm::put_VoiceMenu