Compartilhar via


IAgentCommandEx::GetVoiceCaption

[O Microsoft Agent foi preterido a partir do Windows 7 e pode estar indisponível nas versões subsequentes do Windows.]

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

Recupera o VoiceCaption para um Comando.

  • Retorna S_OK para indicar que a operação foi bem-sucedida.

pbszVoiceCaption

O endereço de um BSTR que recebe o valor do texto legenda exibido para um Command.

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

Consulte Também

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