<tfoot id='3gqms'></tfoot>

    <legend id='3gqms'><style id='3gqms'><dir id='3gqms'><q id='3gqms'></q></dir></style></legend>
    <i id='3gqms'><tr id='3gqms'><dt id='3gqms'><q id='3gqms'><span id='3gqms'><b id='3gqms'><form id='3gqms'><ins id='3gqms'></ins><ul id='3gqms'></ul><sub id='3gqms'></sub></form><legend id='3gqms'></legend><bdo id='3gqms'><pre id='3gqms'><center id='3gqms'></center></pre></bdo></b><th id='3gqms'></th></span></q></dt></tr></i><div id='3gqms'><tfoot id='3gqms'></tfoot><dl id='3gqms'><fieldset id='3gqms'></fieldset></dl></div>

        • <bdo id='3gqms'></bdo><ul id='3gqms'></ul>
      1. <small id='3gqms'></small><noframes id='3gqms'>

      2. 更改 Windows 7 上的默认音频设备

        时间:2023-11-11
      3. <i id='BiWHq'><tr id='BiWHq'><dt id='BiWHq'><q id='BiWHq'><span id='BiWHq'><b id='BiWHq'><form id='BiWHq'><ins id='BiWHq'></ins><ul id='BiWHq'></ul><sub id='BiWHq'></sub></form><legend id='BiWHq'></legend><bdo id='BiWHq'><pre id='BiWHq'><center id='BiWHq'></center></pre></bdo></b><th id='BiWHq'></th></span></q></dt></tr></i><div id='BiWHq'><tfoot id='BiWHq'></tfoot><dl id='BiWHq'><fieldset id='BiWHq'></fieldset></dl></div>
          <tbody id='BiWHq'></tbody>
          <bdo id='BiWHq'></bdo><ul id='BiWHq'></ul>

          <small id='BiWHq'></small><noframes id='BiWHq'>

            <legend id='BiWHq'><style id='BiWHq'><dir id='BiWHq'><q id='BiWHq'></q></dir></style></legend>
          • <tfoot id='BiWHq'></tfoot>

                  本文介绍了更改 Windows 7 上的默认音频设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我希望能够使用 C# 以编程方式更改 Windows 7 上的默认音频输出设备(可能还有一些底层 Win32 API 调用).我已经完成了我的功课,并且我听到了很多来自不同来源的混合评论,所以我想再次问这个问题以获得直接的答案.这真的可能吗(通过 any 手段)?如果是这样,我该怎么做?

                  I want to be able to change the default audio output device on Windows 7 programatically using C# (and probably some underlying Win32 API calls, as well). I've already done my homework, and I've heard a lot of mixed comments from different sources, so I wanted to ask this question again to get a straight answer. Is this actually possible (through any means)? If so, how would I go about doing this?

                  请不要建议使用AutoIt"或其他类似程序的解决方案...这是一个 C#/.NET 特定的问题.

                  And please do not suggest a solution with "AutoIt" or some other similar program... this is a C#/.NET-specific question.

                  推荐答案

                  以防万一有人在未来偶然发现这个线程......这里有一些 C++ 代码可以通过调用一些未记录的 Win32 API 来实现.这可以编译成 EXE,然后从 .NET 应用程序静默调用,因此您可以围绕此代码构建一个 .NET 程序.

                  Just in case anyone stumbles across this thread in the future... here's some C++ code that'll do it by calling some undocumented Win32 APIs. This can be compiled into an EXE and then called silently from a .NET application, so you could build a .NET program around this code.

                  http://web.archive.org/web/20190317012739/http://www.daveamenta.com/2011-05/programmatically-or-command-line-change-the-default-sound-playback-device-in-windows-7/

                  这篇关于更改 Windows 7 上的默认音频设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:请求的性能计数器不是自定义计数器,它必须初始化为 ReadOnly 下一篇:更改打印机默认纸张大小

                  相关文章

                  <legend id='JCb6A'><style id='JCb6A'><dir id='JCb6A'><q id='JCb6A'></q></dir></style></legend>

                    <tfoot id='JCb6A'></tfoot>
                      <bdo id='JCb6A'></bdo><ul id='JCb6A'></ul>
                  1. <small id='JCb6A'></small><noframes id='JCb6A'>

                      <i id='JCb6A'><tr id='JCb6A'><dt id='JCb6A'><q id='JCb6A'><span id='JCb6A'><b id='JCb6A'><form id='JCb6A'><ins id='JCb6A'></ins><ul id='JCb6A'></ul><sub id='JCb6A'></sub></form><legend id='JCb6A'></legend><bdo id='JCb6A'><pre id='JCb6A'><center id='JCb6A'></center></pre></bdo></b><th id='JCb6A'></th></span></q></dt></tr></i><div id='JCb6A'><tfoot id='JCb6A'></tfoot><dl id='JCb6A'><fieldset id='JCb6A'></fieldset></dl></div>