[DllImport("winmm.dll")] public static extern int waveOutGetVolume(IntPtr hwo, out uint dwVolume); [DllImport("winmm.dll")] public static extern int waveOutSetVolume(IntPtr hwo, uint dwVolume); double volume = 100; void Volume() { double NewVolume = ((ushort.MaxValue / 100) * volume); waveOutSetVolume(IntPtr.Zero, (uint)NewVolume); }
Quote:I imagine there is somewhere a list with all the properties and classes from that dll on the internet.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)