Searched refs:WinError (Results 1 – 6 of 6) sorted by relevance
79 e = WinError(ERROR_INVALID_PARAMETER)86 raise WinError()
94 raise WinError()
474 def WinError(code=None, descr=None): function
223 raise ctypes.WinError()232 raise ctypes.WinError()
491 ... raise WinError()505 ``WinError`` is a function which will call Windows ``FormatMessage()`` api to507 ``WinError`` takes an optional error code parameter, if no one is used, it calls1331 :exc:`OSError` error is raised with the message *"[WinError 126] The1781 >>> from ctypes import POINTER, WINFUNCTYPE, windll, WinError1800 ... raise WinError()1814 ... raise WinError()2030 .. function:: WinError(code=None, descr=None)
5774 - Issue #16169: Fix ctypes.WinError()'s confusion between errno and winerror.