Lines Matching refs:byref
80 win32.GetCommTimeouts(self.hComPort, ctypes.byref(self._orgTimeouts))
127 win32.SetCommTimeouts(self.hComPort, ctypes.byref(win32.COMMTIMEOUTS(*timeouts)))
134 win32.GetCommState(self.hComPort, ctypes.byref(comDCB))
201 if not win32.SetCommState(self.hComPort, ctypes.byref(comDCB)):
238 if not win32.ClearCommError(self.hComPort, ctypes.byref(flags), ctypes.byref(comstat)):
251 if not win32.ClearCommError(self.hComPort, ctypes.byref(flags), ctypes.byref(comstat)):
258 … err = win32.ReadFile(self.hComPort, buf, n, ctypes.byref(rc), ctypes.byref(self._overlappedRead))
268 …err = win32.ReadFile(self.hComPort, buf, size, ctypes.byref(rc), ctypes.byref(self._overlappedRead…
271 …err = win32.GetOverlappedResult(self.hComPort, ctypes.byref(self._overlappedRead), ctypes.byref(rc…
287 … err = win32.WriteFile(self.hComPort, data, len(data), ctypes.byref(n), self._overlappedWrite)
293 … err = win32.GetOverlappedResult(self.hComPort, self._overlappedWrite, ctypes.byref(n), True)
366 win32.GetCommModemStatus(self.hComPort, ctypes.byref(stat))
415 if not win32.ClearCommError(self.hComPort, ctypes.byref(flags), ctypes.byref(comstat)):