public static extern uint waveOutGetVolume(IntPtr hwo, uint dwVolume);
VB Signature:
Declare Function waveOutGetVolume Lib "winmm.dll" (ByVal hwo As IntPtr, ByRef dwVolume As UInteger) As Integer
User-Defined Types:
None.
Alternative Managed API:
[DllImport("winmm.dll")]
public static extern int waveOutGetVolume(IntPtr hwo, out uint dwVolume);
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
The SetLastError API
1/26/2016 3:27:33 AM - -124.148.167.58
Click to read this page
4/6/2008 7:23:14 AM - anonymous
Click to read this page
4/6/2008 7:23:14 AM - anonymous
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.