如何改变主音量编程? [英] How to change master volume programmatically?

查看:149
本文介绍了如何改变主音量编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows XP上如何获得主音量C / C ++或如何改变主音量...?

In C/C++ on windows xp how to get master volume or how to change master volume...?

在此先感谢...

推荐答案

在MSDN库的起点API文档会的相对=nofollow>(除非是我弄错了)。有用code可以通过搜索 MIXERC​​ONTROL_CONTROLTYPE_VOLUME (产生code一样的这个)。

The starting point for API documentation in the MSDN library would be here (unless I am mistaken). Helpful code can be found by searching for MIXERCONTROL_CONTROLTYPE_VOLUME (yielding code like this).

(这是利用搜索引擎五分钟的价值,因为我对这个问题我自己。因此,我有些讥讽的上述评论绝对零经验。)

(That was five minutes' worth of using search engines, as I have absolutely zero experience on the subject myself. Hence my somewhat sarcastic comment above.)

这篇关于如何改变主音量编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆