Searched refs:WinError (Results 1 – 8 of 8) sorted by relevance
261 ULONG WinError; member319 IN ULONG WinError in _MapDosError() argument330 if (WinError == ErrorTable[i].WinError) in _MapDosError()340 if ((WinError >= ERROR_WRITE_PROTECT) && in _MapDosError()341 (WinError <= ERROR_SHARING_BUFFER_EXCEEDED)) in _MapDosError()345 else if ((WinError >= ERROR_INVALID_STARTING_CODESEG) && in _MapDosError()346 (WinError <= ERROR_INFLOOP_IN_RELOC_CHAIN)) in _MapDosError()
6 raise ctypes.WinError()138 raise ctypes.WinError()199 raise ctypes.WinError()
66 raise SerialException("could not open port %r: %r" % (self.portstr, ctypes.WinError()))202 …lueError("Cannot configure port, some setting was wrong. Original message: %r" % ctypes.WinError())260 raise SerialException("ReadFile failed (%r)" % ctypes.WinError())270 raise SerialException("ReadFile failed (%r)" % ctypes.WinError())289 raise SerialException("WriteFile failed (%r)" % ctypes.WinError())
94 raise WinError()
62 // see WinError.h comments for descriptions of errors
463 def WinError(code=None, descr=None): function
325 raise ctypes.WinError()334 raise ctypes.WinError()
487 ... raise WinError()501 ``WinError`` is a function which will call Windows ``FormatMessage()`` api to503 ``WinError`` takes an optional error code parameter, if no one is used, it calls1761 >>> from ctypes import POINTER, WINFUNCTYPE, windll, WinError1780 ... raise WinError()1794 ... raise WinError()2032 .. function:: WinError(code=None, descr=None)