Platform SDK: Agent |
HRESULT GetVoice( BSTR * pbszVoice // address of Voice setting for Command );
Retrieves the value of the Voice text property for a Command.
A Command with its Voice property set and its Enabled property set to True will be voice-accessible. If its Caption property is also set it appears in the Voice Commands Window. If its Visible property is set to True, it appears in the character's pop-up menu.
IAgentCommand::SetVoice, IAgentCommands::Add, IAgentCommands::Insert