Searched refs:windll (Results 1 – 24 of 24) sorted by relevance
/external/python/cpython2/Lib/ctypes/test/ |
D | test_loading.py | 56 windll.kernel32.GetModuleHandleW 57 windll["kernel32"].GetModuleHandleW 58 windll.LoadLibrary("kernel32").GetModuleHandleW 61 windll.coredll.GetModuleHandleW 62 windll["coredll"].GetModuleHandleW 63 windll.LoadLibrary("coredll").GetModuleHandleW 101 advapi32 = windll.advapi32 105 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p 106 windll.kernel32.GetProcAddress.restype = c_void_p 107 proc = windll.kernel32.GetProcAddress(advapi32._handle,
|
D | test_random_things.py | 15 windll.kernel32.LoadLibraryA.restype = c_void_p 16 windll.kernel32.GetProcAddress.argtypes = c_void_p, c_char_p 17 windll.kernel32.GetProcAddress.restype = c_void_p 19 hdll = windll.kernel32.LoadLibraryA("kernel32") 20 funcaddr = windll.kernel32.GetProcAddress(hdll, "GetModuleHandleA") 23 windll.kernel32.GetModuleHandleA(None))
|
D | test_functions.py | 21 windll = WinDLL(_ctypes_test.__file__) variable 350 windll.s_ret_2h_func.restype = S2H 351 windll.s_ret_2h_func.argtypes = [S2H] 352 s2h = windll.s_ret_2h_func(S2H(99, 88)) 383 windll.s_ret_8i_func.restype = S8I 384 windll.s_ret_8i_func.argtypes = [S8I] 386 s8i = windll.s_ret_8i_func(inp)
|
D | test_win32.py | 18 IsWindow = windll.user32.IsWindow 49 self.assertRaises(WindowsError, windll.kernel32.GetModuleHandleA, 32) 53 windll.user32.GetDesktopWindow()
|
D | test_callbacks.py | 213 windll.user32.EnumWindows(EnumWindowsCallbackFunc, 0)
|
/external/python/cpython2/Lib/lib-tk/ |
D | FixTk.py | 16 ctypes.windll.kernel32.GetFinalPathNameByHandleW 24 hdir = ctypes.windll.kernel32.\ 34 res = ctypes.windll.kernel32.\ 37 ctypes.windll.kernel32.CloseHandle(hdir)
|
/external/python/cpython2/Lib/test/ |
D | symlink_support.py | 35 CreateSymbolicLink = ctypes.windll.kernel32.CreateSymbolicLinkW 65 bytes = ctypes.windll.kernel32.FormatMessageW( 79 ctypes.windll.kernel32.LocalFree(result_buffer) 84 value = ctypes.windll.kernel32.GetLastError()
|
D | win_console_handler.py | 33 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
|
D | test_os.py | 315 kernel32 = ctypes.windll.kernel32 783 PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe 866 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
|
D | test_support.py | 322 dll = ctypes.windll.user32
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
D | trace_time.py | 132 ctypes.windll.Kernel32.QueryPerformanceFrequency( 155 ctypes.windll.Kernel32.QueryPerformanceFrequency( 158 qpc = ctypes.windll.Kernel32.QueryPerformanceCounter 168 else ctypes.windll.kernel32)
|
/external/python/cpython2/Tools/pybench/ |
D | systimes.py | 135 rc = ctypes.windll.kernel32.GetProcessTimes( 136 ctypes.windll.kernel32.GetCurrentProcess(),
|
/external/mesa3d/src/gallium/tools/trace/ |
D | format.py | 136 self.handle = ctypes.windll.kernel32.GetStdHandle(nStdHandle) 143 ctypes.windll.kernel32.SetConsoleTextAttribute(self.handle, attr)
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 244 if not windll.kernel32.IsBadStringPtrA(self, -1): 454 windll = LibraryLoader(WinDLL) variable 458 GetLastError = windll.kernel32.GetLastError 460 GetLastError = windll.coredll.GetLastError
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | list_ports_windows.py | 76 setupapi = ctypes.windll.LoadLibrary("setupapi") 106 advapi32 = ctypes.windll.LoadLibrary("Advapi32")
|
/external/python/cpython2/Tools/unicode/ |
D | genwincodec.py | 12 MultiByteToWideChar = ctypes.windll.kernel32.MultiByteToWideChar
|
/external/v8/tools/testrunner/local/ |
D | commands.py | 47 ctypes.windll.kernel32.SetErrorMode(mode) #@UndefinedVariable
|
/external/webrtc/tools/network_emulator/ |
D | network_emulator.py | 98 if ctypes.windll.shell32.IsUserAnAdmin() == 0:
|
/external/webrtc/ |
D | setup_links.py | 262 if not ctypes.windll.kernel32.CreateSymbolicLinkW( 489 return ctypes.windll.shell32.IsUserAnAdmin() != 0
|
/external/python/cpython2/Lib/ |
D | uuid.py | 396 ctypes.windll.kernel32.GetSystemDirectoryA(buffer, 300) 484 lib = ctypes.windll.rpcrt4
|
/external/libyuv/files/ |
D | setup_links.py | 241 if not ctypes.windll.kernel32.CreateSymbolicLinkW( 468 return ctypes.windll.shell32.IsUserAnAdmin() != 0
|
/external/python/cpython2/Doc/library/ |
D | ctypes.rst | 36 :mod:`ctypes` exports the *cdll*, and on Windows *windll* and *oledll* 41 convention, while *windll* libraries call functions using the ``stdcall`` 52 >>> print windll.kernel32 # doctest: +WINDOWS 86 >>> print windll.kernel32.GetModuleHandleA # doctest: +WINDOWS 88 >>> print windll.kernel32.MyOwnFunction # doctest: +WINDOWS 109 *windll* does not try to select one of them by magic, you must access the 151 >>> print hex(windll.kernel32.GetModuleHandleA(None)) # doctest: +WINDOWS 160 >>> windll.kernel32.GetModuleHandleA() # doctest: +WINDOWS 164 >>> windll.kernel32.GetModuleHandleA(0, 0) # doctest: +WINDOWS 179 >>> windll.msvcrt.printf("spam") # doctest: +WINDOWS [all …]
|
/external/vulkan-validation-layers/ |
D | vk-layer-introspect.py | 26 VKAPI_DLL = ctypes.windll
|
/external/python/cpython2/Doc/faq/ |
D | windows.rst | 319 kernel32 = ctypes.windll.kernel32
|