waveOutSetVolume (winmm)
Last changed: -179.218.123.19

.
Summary
Set the volume of the specified device.

C# Signature:

[DllImport("winmm.dll", SetLastError=true, CallingConvention=CallingConvention.Winapi)]
public static extern int waveOutSetVolume(int uDeviceID, int dwVolume);

VB Signature:

Declare Auto Function waveOutSetVolume Lib "winmm.dll" (ByVal uDeviceID As Integer, ByVal dwVolume As Integer) As Integer

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

VB - Use "Auto" in the Declare statement to have VB automatically marshal strings using the proper coding. ANSI is default.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation