更改音量 win32 C++
我将如何在 c++ win32 中更改音量?另外我将如何静音/取消静音?感谢您的帮助!
How would I go about changing the sound volume in c++ win32? Also how would I mute/unmute it? Thanks for the help!
推荐答案
两个选项:
这里有 该问题的答案(更改主音量来自 C++,其中还包括 SetMute 等)
您是否考虑过显示音量控件并让用户使用?如果是这样,我可以为此发布一些代码.(您基本上只是使用音量控制小程序.
Have you considered showing the Volume controls and letting the user? If so, I can post some code for that. (You basically just shell out to the volume control applet.
相关文章