Searched refs:comstat (Results 1 – 2 of 2) sorted by relevance
237 comstat = win32.COMSTAT()238 if not win32.ClearCommError(self.hComPort, ctypes.byref(flags), ctypes.byref(comstat)):240 return comstat.cbInQue250 comstat = win32.COMSTAT()251 if not win32.ClearCommError(self.hComPort, ctypes.byref(flags), ctypes.byref(comstat)):254 n = min(comstat.cbInQue, size)414 comstat = win32.COMSTAT()415 if not win32.ClearCommError(self.hComPort, ctypes.byref(flags), ctypes.byref(comstat)):417 return comstat.cbOutQue
1554 COMSTAT comstat; in win_chr_init() local1604 if (!ClearCommError(s->hcom, &err, &comstat)) { in win_chr_init()