waveOutSetVolume (coredll)
Last changed: -212.189.46.155

.
Summary
This function sets the output audio volume of the pocket pc device.

C# Signature:

[DllImport("coredll.dll", SetLastError=true)]
protected static extern int waveOutSetVolume(IntPtr device, uint volume);

VB Signature:

TODO
!!!!User-Defined Types:

None.

Notes:

values for 'volume' are between value between 0 (off) and 65536 (max)

if there is only one audio device, you can set 'device' to null (or IntPtr.Zero)

Tips & Tricks:

Please add some!

Sample Code:

uint val = (uint)65536;

waveOutSetVolume(IntPtr.Zero, val);

Alternative Managed API:

Do you know one? Please contribute it!

Documentation