摘要: C# code:[DllImport("winmm.dll", SetLastError=true, CallingConvention=CallingConvention.Winapi)] public static extern int waveOutSetVolume(int uDeviceID, int dwVolume); //Call waveOutSetVolume( 0, 100 );第一个参数可以为0,表示首选设备第二个参数为音量:0xFFFF为最大,0x0000为最小,其中高位(前两位)表示右声道音量,低位(后两位)表示左声道音量int iVolume= 阅读全文
posted @ 2013-05-14 13:53 qqhfeng16 阅读(754) 评论(0) 推荐(0)