(self)
| 180 | warning(ctypes.FormatError(ctypes.GetLastError())) |
| 181 | |
| 182 | def _winreset(self): |
| 183 | # type: () -> None |
| 184 | if ctypes.windll.kernel32.ResetEvent(ctypes.c_void_p(self._fd)) == 0: |
| 185 | warning(ctypes.FormatError(ctypes.GetLastError())) |
| 186 | |
| 187 | def _winclose(self): |
| 188 | # type: () -> None |