Lines Matching refs:COMSTAT
237 comstat = win32.COMSTAT()
238 if not win32.ClearCommError(self.hComPort, ctypes.byref(flags), ctypes.byref(comstat)):
240 return comstat.cbInQue
250 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