internal static bool PurgeComm(IntPtr hHandle, PurgeCommFlags commflags) { if (FullFramework) { return(Convert.ToBoolean(WinPurgeComm(hHandle, commflags))); } else { return(Convert.ToBoolean(CEPurgeComm(hHandle, commflags))); } }
private static extern int WinPurgeComm(IntPtr hFile, PurgeCommFlags lpPurgeFlags);