IAgentCommands::GetCaption

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

HRESULT GetCaption(
   BSTR * pbszCaption  // address of Caption text for Commands collection
);

检索 Commands 集合的Caption

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

pbszCaption

接收为 Commands 集合显示的 Caption 文本设置值的 BSTR 的地址。

另请参阅

IAgentCommands::SetCaptionIAgentCommands::GetVisibleIAgentCommands::GetVoice