Searched refs:use_last_error (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ctypes/test/ |
D | test_errno.py | 51 dll = WinDLL("kernel32", use_last_error=True) 64 dll = WinDLL("kernel32", use_last_error=False)
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 348 use_last_error=False): argument 353 if use_last_error:
|
/external/python/cpython2/Doc/library/ |
D | ctypes.rst | 1355 .. class:: CDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False) 1362 .. class:: OleDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False) 1372 .. class:: WinDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False) 1418 The *use_last_error* parameter, when set to true, enables the same mechanism for 1425 The *use_last_error* and *use_errno* optional parameters were added. 1630 .. function:: CFUNCTYPE(restype, *argtypes, use_errno=False, use_last_error=False) 1636 and after the call; *use_last_error* does the same for the Windows error 1640 The optional *use_errno* and *use_last_error* parameters were added. 1643 .. function:: WINFUNCTYPE(restype, *argtypes, use_errno=False, use_last_error=False) 1648 release the GIL during the call. *use_errno* and *use_last_error* have the
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 2873 You supply ``use_last_error=True`` as a keyword parameter
|