Condividi tramite


IAgentCommandEx::GetVoiceCaption

[Microsoft Agent è deprecato a partire da Windows 7 e potrebbe non essere disponibile nelle versioni successive di Windows.]

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

Recupera voicecaption per un comando.

  • Restituisce S_OK per indicare che l'operazione è riuscita.

pbszVoiceCaption

Indirizzo di un oggetto BSTR che riceve il valore del testo Caption visualizzato per un comando.

VoiceCaption è il testo visualizzato per un oggetto Command nella finestra Comandi vocali quando l'applicazione client è attiva per l'input.

Vedere anche

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