Getting volume change notifications on Vista/7 (C++)

后端 未结 2 687
执笔经年
执笔经年 2021-01-01 05:16

I\'m trying to get notifications whenever the master volume changes on Windows Vista/7. This is the code I\'m using:

#include 
#include          


        
2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-01 05:59

    It works fine when I try it. Be sure to click on the volume control tray icon, click Mixer and modify the volume for your app.

提交回复
热议问题