次の方法で共有


IAgentCommands::GetCaption

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

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

Commands コレクションの Caption を取得 します

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

pbszCaption

Commands コレクションに表示される Caption テキスト設定の値を受け取る BSTR のアドレス。

参照

IAgentCommands::SetCaptionIAgentCommands::GetVisibleIAgentCommands::GetVoice