Searched refs:windll (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Lib/ctypes/test/ |
D | test_random_things.py | 19 windll.kernel32.LoadLibraryA.restype = c_void_p 20 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p 21 windll.kernel32.GetProcAddress.restype = c_void_p 23 hdll = windll.kernel32.LoadLibraryA(b"kernel32") 24 funcaddr = windll.kernel32.GetProcAddress(hdll, b"GetModuleHandleA") 27 windll.kernel32.GetModuleHandleA(None))
|
D | test_loading.py | 65 windll.kernel32.GetModuleHandleW 66 windll["kernel32"].GetModuleHandleW 67 windll.LoadLibrary("kernel32").GetModuleHandleW 70 self.assertRaises(ValueError, windll.LoadLibrary, "kernel32\0") 107 advapi32 = windll.advapi32 111 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p 112 windll.kernel32.GetProcAddress.restype = c_void_p 113 proc = windll.kernel32.GetProcAddress(advapi32._handle,
|
D | test_functions.py | 21 windll = WinDLL(_ctypes_test.__file__) variable 340 windll.s_ret_2h_func.restype = S2H 341 windll.s_ret_2h_func.argtypes = [S2H] 342 s2h = windll.s_ret_2h_func(S2H(99, 88)) 373 windll.s_ret_8i_func.restype = S8I 374 windll.s_ret_8i_func.argtypes = [S8I] 376 s8i = windll.s_ret_8i_func(inp)
|
D | test_win32.py | 21 self.assertRaises(OSError, windll.kernel32.GetModuleHandleA, 32) 25 windll.user32.GetDesktopWindow() 84 windll.kernel32.SetLastError(ERROR_INVALID_PARAMETER)
|
D | test_callbacks.py | 209 windll.user32.EnumWindows(EnumWindowsCallbackFunc, 0)
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | format.py | 136 self.handle = ctypes.windll.kernel32.GetStdHandle(nStdHandle) 143 ctypes.windll.kernel32.SetConsoleTextAttribute(self.handle, attr)
|
/third_party/python/Lib/test/ |
D | win_console_handler.py | 33 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
|
D | test_os.py | 903 kernel32 = ctypes.windll.kernel32 2394 PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe 2479 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
|
/third_party/python/Tools/unicode/ |
D | genwincodec.py | 12 MultiByteToWideChar = ctypes.windll.kernel32.MultiByteToWideChar
|
/third_party/python/Lib/ctypes/ |
D | __init__.py | 468 windll = LibraryLoader(WinDLL) variable 471 GetLastError = windll.kernel32.GetLastError
|
/third_party/python/Doc/library/ |
D | ctypes.rst | 35 :mod:`ctypes` exports the *cdll*, and on Windows *windll* and *oledll* 40 convention, while *windll* libraries call functions using the ``stdcall`` 56 >>> print(windll.kernel32) # doctest: +WINDOWS 96 >>> print(windll.kernel32.GetModuleHandleA) # doctest: +WINDOWS 98 >>> print(windll.kernel32.MyOwnFunction) # doctest: +WINDOWS 119 *windll* does not try to select one of them by magic, you must access the 160 >>> print(hex(windll.kernel32.GetModuleHandleA(None))) # doctest: +WINDOWS 173 >>> windll.msvcrt.printf(b"spam") # doctest: +WINDOWS 186 >>> windll.kernel32.GetModuleHandleA(32) # doctest: +WINDOWS 488 >>> GetModuleHandle = windll.kernel32.GetModuleHandleA # doctest: +WINDOWS [all …]
|
/third_party/python/Lib/test/support/ |
D | os_helper.py | 312 length = ctypes.windll.kernel32.GetLongPathNameW(path, buffer,
|
D | __init__.py | 220 dll = ctypes.windll.user32
|
/third_party/python/PC/layout/support/ |
D | appxmanifest.py | 212 r = ctypes.windll.kernel32.PackageFamilyNameFromId(
|
/third_party/node/tools/ |
D | test.py | 666 prev_error_mode = ctypes.windll.kernel32.SetErrorMode(mode)
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
D | ninja.py | 1714 ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
D | ninja.py | 2117 ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))
|