次の方法で共有


IAgentCommands::GetVoice

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

HRESULT GetVoice(
   BSTR * pbszVoice  // address of Voice setting for Commands collection
);

Commands コレクションの Voice プロパティの値を取得 します

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

pbszVoice

Commands コレクションの音声テキスト設定の値を受け取る BSTR のアドレス。

参照

IAgentCommands::SetVoiceIAgentCommands::GetCaptionIAgentCommands::GetVisible