IAgentCommandEx::GetVoiceCaption
[Microsoft Agent is deprecated as of Windows 7, and may be unavailable in subsequent versions of Windows.]
HRESULT GetVoiceCaption(
BSTR * pbszVoiceCaption // address of command's voice caption text
);
Retrieves the VoiceCaption for a Command.
- Returns S_OK to indicate the operation was successful.
-
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