IVCmdMenu::Deactivate

This method deactivates an active voice menu so that the application no longer listens for its commands.

Syntax

HRESULT Deactivate(void);

Return Values

NOERROR indicates success. VCMDERR_OUTOFMEM indicates that a low memory condition exists.

Remarks

After calling Deactivate, the menu remains open until it is released, so the application can start listening for the menu’s commands again by calling IVCmdMenu::Activate.