A 2019 user who is working on a new C# midi library based on winmm.dll
2/9/2019 6:40:49 AM - -95.150.180.171
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.