i know how to import a windows dll in c#, but i haven't done much c++ programming.
i want to use winmm to access midi function.
in c#, i would do this:
Code:
[DllImport("winmm.dll")]
public static extern int midiOutOpen(ref int lphMidiOut, int uDeviceID, int dwCallback, int dwInstance, int dwFlags) what is the equivalent in c++?