public static extern IntPtr Pm_GetErrorText(PmError errnum);
public static IntPtr Pm_GetErrorText(PmError errnum) { return Is64Bit ? PortMidiMethods64.Pm_GetErrorText(errnum) : PortMidiMethods32.Pm_GetErrorText(errnum); }
static extern IntPtr IntPtr_Pm_GetErrorText(PmError errnum);
public static string Pm_GetErrorText(PmError errnum) { IntPtr strptr = IntPtr_Pm_GetErrorText(errnum); return Marshal.PtrToStringAnsi(strptr); }
public static string Pm_GetErrorText(PmError errnum) { IntPtr strptr = IntPtr_Pm_GetErrorText(errnum); return(Marshal.PtrToStringAnsi(strptr)); }