static extern bool GetCommModemStatus(SafeFileHandle hFile, out uint lpModemStat);
GetCommModemStatus(hComPort, out stat);