IAgentCommandEx::GetVoiceCaption

[Microsoft エージェントは Windows 7 の時点で非推奨となり、以降のバージョンの Windows では使用できない場合があります。]

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

コマンドの VoiceCaption を取得 します。

  • 操作が成功したことを示すS_OKを返します。

pbszVoiceCaption

Command に対して表示される Caption テキストの値を受け取る BSTR のアドレス。

VoiceCaption は、クライアント アプリケーションが input-active のときに[音声コマンド] ウィンドウに Command オブジェクトに表示されるテキストです。

参照

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