Home
last modified time | relevance | path

Searched refs:windll (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/ctypes/test/
Dtest_random_things.py19 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))
Dtest_loading.py65 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,
Dtest_functions.py21 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)
Dtest_win32.py21 self.assertRaises(OSError, windll.kernel32.GetModuleHandleA, 32)
25 windll.user32.GetDesktopWindow()
84 windll.kernel32.SetLastError(ERROR_INVALID_PARAMETER)
Dtest_callbacks.py209 windll.user32.EnumWindows(EnumWindowsCallbackFunc, 0)
/third_party/mesa3d/src/gallium/tools/trace/
Dformat.py136 self.handle = ctypes.windll.kernel32.GetStdHandle(nStdHandle)
143 ctypes.windll.kernel32.SetConsoleTextAttribute(self.handle, attr)
/third_party/python/Lib/test/
Dwin_console_handler.py33 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
Dtest_os.py903 kernel32 = ctypes.windll.kernel32
2394 PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe
2479 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
/third_party/python/Tools/unicode/
Dgenwincodec.py12 MultiByteToWideChar = ctypes.windll.kernel32.MultiByteToWideChar
/third_party/python/Lib/ctypes/
D__init__.py468 windll = LibraryLoader(WinDLL) variable
471 GetLastError = windll.kernel32.GetLastError
/third_party/python/Doc/library/
Dctypes.rst35 :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/
Dos_helper.py312 length = ctypes.windll.kernel32.GetLongPathNameW(path, buffer,
D__init__.py220 dll = ctypes.windll.user32
/third_party/python/PC/layout/support/
Dappxmanifest.py212 r = ctypes.windll.kernel32.PackageFamilyNameFromId(
/third_party/node/tools/
Dtest.py666 prev_error_mode = ctypes.windll.kernel32.SetErrorMode(mode)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dninja.py1714 ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))
/third_party/node/tools/gyp/pylib/gyp/generator/
Dninja.py2117 ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))