Smart Device Functions:
[DllImport ("winmm.dll", EntryPoint="waveInAddBuffer", SetLastError=true)]
Alternative Managed API:
Do you know one? Please contribute it!
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!
TODO - a short description
12/30/2010 9:45:57 PM - -188.8.131.52
Enumeration for the MMRESULT possible values in winmm.dll
7/21/2010 10:53:56 PM - -184.108.40.206
ByRef is a VB keyword that specifies a variable to be passed as a parameter BY REFERENCE. In other words, the pointer to the variable is passed and any change to its value made within the function or sub will change its value outside the function/sub.
4/25/2007 10:19:29 AM - email@example.com
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 11:00:13 AM - tsahi-220.127.116.11
Please edit this page!
Do you have...