Home
last modified time | relevance | path

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

/third_party/python/Lib/ctypes/test/
H A 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))
H A 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,
164 should_pass("windll.kernel32.SetDllDirectoryW(None); WinDLL('_sqlite3.dll', winmode=0)")
H A Dtest_functions.py21 windll = WinDLL(_ctypes_test.__file__) variable
332 windll.s_ret_2h_func.restype = S2H
333 windll.s_ret_2h_func.argtypes = [S2H]
334 s2h = windll.s_ret_2h_func(S2H(99, 88))
365 windll.s_ret_8i_func.restype = S8I
366 windll.s_ret_8i_func.argtypes = [S8I]
368 s8i = windll.s_ret_8i_func(inp)
H A Dtest_win32.py21 self.assertRaises(OSError, windll.kernel32.GetModuleHandleA, 32)
25 windll.user32.GetDesktopWindow()
84 windll.kernel32.SetLastError(ERROR_INVALID_PARAMETER)
H A Dtest_callbacks.py213 windll.user32.EnumWindows(EnumWindowsCallbackFunc, 0)
/third_party/mesa3d/src/gallium/tools/trace/
H A Dformat.py136 self.handle = ctypes.windll.kernel32.GetStdHandle(nStdHandle)
143 ctypes.windll.kernel32.SetConsoleTextAttribute(self.handle, attr)
/third_party/python/Lib/test/
H A Dwin_console_handler.py33 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
H A Dtest_os.py908 kernel32 = ctypes.windll.kernel32
2466 PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe
2553 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
/third_party/python/Tools/unicode/
H A Dgenwincodec.py12 MultiByteToWideChar = ctypes.windll.kernel32.MultiByteToWideChar
/third_party/python/Lib/ctypes/
H A D__init__.py470 windll = LibraryLoader(WinDLL) variable
473 GetLastError = windll.kernel32.GetLastError
/third_party/node/deps/v8/tools/testrunner/local/
H A Dcommand.py238 ctypes.windll.kernel32.SetErrorMode(mode)) #@UndefinedVariable
/third_party/python/Lib/test/support/
H A Dos_helper.py394 length = ctypes.windll.kernel32.GetLongPathNameW(path, buffer,
H A D__init__.py234 dll = ctypes.windll.user32
/third_party/python/PC/layout/support/
H A Dappxmanifest.py212 r = ctypes.windll.kernel32.PackageFamilyNameFromId(
/third_party/node/tools/
H A Dtest.py677 prev_error_mode = ctypes.windll.kernel32.SetErrorMode(mode)
/third_party/node/tools/gyp/pylib/gyp/generator/
H A Dninja.py2112 ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
H A Dninja.py2109 ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(stat))

Completed in 35 milliseconds