IAgentCommand::GetCaption

[从 Windows 7 开始,Microsoft 代理已弃用,可能在后续版本的 Windows 中不可用。]

HRESULT GetCaption(
   BSTR * pbszCaption  // address of Caption for Command
);

检索命令标题

  • 返回指示操作成功的S_OK。

pbszCaption

接收为命令显示的 Caption 文本的值的 BSTR 的地址。

另请参阅

IAgentCommand::SetCaptionIAgentCommand::SetEnabledIAgentCommand::SetVisibleIAgentCommand::SetVoiceIAgentCommands::AddIAgentCommands::Insert