Platform SDK: Agent

IAgentCommandEx::GetVoiceCaption

HRESULT GetVoiceCaption(
   BSTR * pbszVoiceCaption  // address of command's voice caption text
);

Retrieves the VoiceCaption for a Command.

pbszVoiceCaption
The address of a BSTR that receives the value of the Caption text displayed for a Command.

The VoiceCaption is the text that appears for a Command object in the Voice Commands Window when your client application is input-active.

See Also

IAgentCommandEx::SetVoiceCaption, IAgentCommand::SetEnabled, IAgentCommand::SetVisible, IAgentCommand::SetVoice, IAgentCommandsEx::AddEx, IAgentCommandsEx::InsertEx, IAgentCommands::Add, IAgentCommands::Insert