unsafe public static extern int Pm_OpenOutput(PortMidiStream **stream, int outputDevice, string outnputDriverInfo, int bufferSize, int latency);
unsafe public static extern int Pm_OpenInput(PortMidiStream **stream, int inputDevice, string inputDriverInfo, int bufferSize);