waveInAddBuffer (winmm)
Last changed: -92.238.51.9

.
Summary
TODO - a short description

C# Signature:

[DllImport("winmm.dll", SetLastError=true)]
static extern TODO waveInAddBuffer(TODO);

VB Signature:

<DllImport("winmm.dll")> _
Shared Function waveInAddBuffer(<MarshalAs(UnmanagedType.I4)> ByVal hwi As Integer, ByVal pwh As IntPtr, ByVal cbwh As UInteger) As MMRESULT
End Function
<DllImport("winmm.dll")> _
Shared Function waveInAddBuffer(<MarshalAs(UnmanagedType.I4)> ByVal hwi As Integer, ByRef pwh As WAVEHDR, ByVal cbwh As UInteger) As MMRESULT
End Function

User-Defined Types:

WAVEHDR

MMRESULT

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

When recording waveform audio, usually buffers are allocated with unmanaged functions and kept in an IntPtr() array; for this reason the function is provided in two versions, one processing a WAVEHDR ByRef and the other working with an IntPtr.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation