Home
last modified time | relevance | path

Searched refs:kernel32 (Results 1 - 19 of 19) 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.py61 print(find_library("kernel32"))
65 windll.kernel32.GetModuleHandleW
66 windll["kernel32"].GetModuleHandleW
67 windll.LoadLibrary("kernel32").GetModuleHandleW
68 WinDLL("kernel32").GetModuleHandleW
70 self.assertRaises(ValueError, windll.LoadLibrary, "kernel32\0")
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
[all...]
H A Dtest_win32.py21 self.assertRaises(OSError, windll.kernel32.GetModuleHandleA, 32)
84 windll.kernel32.SetLastError(ERROR_INVALID_PARAMETER)
/third_party/python/PC/
H A Dvalidate_ucrtbase.py29 kernel32 = WinDLL('kernel32') variable
52 actual_len = kernel32.GetModuleFileNameW(HANDLE(ucrtbased._handle),
H A Dlauncher2.c140 HMODULE kernel32 = GetModuleHandleW(L"kernel32.dll"); in _getNativeMachine() local
141 PIsWow64Process2 IsWow64Process2 = kernel32 ? in _getNativeMachine()
142 (PIsWow64Process2)GetProcAddress(kernel32, "IsWow64Process2") : in _getNativeMachine()
/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
910 ok = kernel32.GetVolumeInformationW(root, None, 0,
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/ntfs-3g/libntfs-3g/
H A Dwin32_io.c405 HMODULE kernel32 = GetModuleHandle("kernel32"); in ntfs_device_win32_init_imports() local
406 if (!kernel32) { in ntfs_device_win32_init_imports()
408 ntfs_log_trace("kernel32.dll could not be imported.\n"); in ntfs_device_win32_init_imports()
411 if (kernel32) in ntfs_device_win32_init_imports()
413 GetProcAddress(kernel32, in ntfs_device_win32_init_imports()
416 * If we did not get kernel32.dll or it is not Win2k+, emulate in ntfs_device_win32_init_imports()
421 "kernel32.dll: Enabling emulation.\n"); in ntfs_device_win32_init_imports()
425 /* Cannot do lookups if we could not get kernel32.dll... */ in ntfs_device_win32_init_imports()
426 if (!kernel32) in ntfs_device_win32_init_imports()
[all...]
/third_party/node/deps/v8/tools/testrunner/local/
H A Dcommand.py238 ctypes.windll.kernel32.SetErrorMode(mode)) #@UndefinedVariable
/third_party/python/Lib/ctypes/
H A D__init__.py473 GetLastError = windll.kernel32.GetLastError
/third_party/python/Lib/test/support/
H A Dos_helper.py394 length = ctypes.windll.kernel32.GetLongPathNameW(path, buffer,
/third_party/python/PC/layout/support/
H A Dappxmanifest.py212 r = ctypes.windll.kernel32.PackageFamilyNameFromId(
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dnmake.mak168 LIBS = wbemuuid.lib libcmt.lib kernel32.lib uuid.lib ole32.lib oleaut32.lib \
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dnmake.mak168 LIBS = wbemuuid.lib libcmt.lib kernel32.lib uuid.lib ole32.lib oleaut32.lib \
/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 38 milliseconds