专业回答
#region 音量
[DllImport("winmm.dll")]
public static extern long waveOutSetVolume(UInt32 deviceID, UInt32 Volume);
[DllImport("winmm.dll")]
public static extern long waveOutGetVolume(UInt32 deviceID, out UInt32 Volume);
.冯上的博客C# Windows //1.Windows简介 ● 入口程序 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace day10_02 { static class...