This method retrieves the awake state for a voice command site.
HRESULT AwakeStateGet( DWORD*pdwAwake );
When the site is awake, it listens for commands from any active voice menu for the active application. When the site is asleep, it listens for commands only from sleep menus—those that were activated with the dwFlags parameter of the IVCmdMenu::Activate method set to VWGFLAG_ASLEEP. Commands from such menus become active only when the site is asleep, and they become inactive when the site is awake. A sleep menu typically contains at least a “Wake up” command that resumes speech recognition.
IVCmdAttributes::AwakeStateSet