Searched refs:use_last_error (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/ctypes/test/ |
D | test_errno.py | 47 dll = WinDLL("kernel32", use_last_error=True) 60 dll = WinDLL("kernel32", use_last_error=False)
|
/third_party/python/Lib/ctypes/ |
D | __init__.py | 342 use_last_error=False, argument 348 if use_last_error:
|
/third_party/python/Doc/library/ |
D | ctypes.rst | 1323 .. class:: CDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False, winmod… 1345 .. class:: OleDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False, winm… 1358 .. class:: WinDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False, winm… 1404 The *use_last_error* parameter, when set to true, enables the same mechanism for 1655 .. function:: CFUNCTYPE(restype, *argtypes, use_errno=False, use_last_error=False) 1661 and after the call; *use_last_error* does the same for the Windows error 1665 .. function:: WINFUNCTYPE(restype, *argtypes, use_errno=False, use_last_error=False) 1670 release the GIL during the call. *use_errno* and *use_last_error* have the
|
/third_party/python/Lib/test/ |
D | test_ntpath.py | 34 GSPN = ctypes.WinDLL("kernel32", use_last_error=True).GetShortPathNameW
|
D | test_os.py | 2822 kernel = ctypes.WinDLL('Kernel32.dll', use_last_error=True)
|
/third_party/python/Doc/whatsnew/ |
D | 2.6.rst | 2877 You supply ``use_last_error=True`` as a keyword parameter
|