您需要使用 IAudioSessionManager2 COM 接口。请查看 Vista Core Audio API Master Volume Control,它包装了一些新的 Core Audio APIs。其中的控制台项目枚举了活动音频会话,并允许您调整活动音频会话的音量和静音状态。