Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/ctypes/test/
Dtest_loading.py56 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,
Dtest_random_things.py15 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))
Dtest_functions.py21 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)
Dtest_win32.py18 IsWindow = windll.user32.IsWindow
49 self.assertRaises(WindowsError, windll.kernel32.GetModuleHandleA, 32)
53 windll.user32.GetDesktopWindow()
Dtest_callbacks.py213 windll.user32.EnumWindows(EnumWindowsCallbackFunc, 0)
/external/python/cpython2/Lib/lib-tk/
DFixTk.py16 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/
Dsymlink_support.py35 CreateSymbolicLink = ctypes.windll.kernel32.CreateSymbolicLinkW
65 bytes = ctypes.windll.kernel32.FormatMessageW(
79 ctypes.windll.kernel32.LocalFree(result_buffer)
84 value = ctypes.windll.kernel32.GetLastError()
Dwin_console_handler.py33 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
Dtest_os.py315 kernel32 = ctypes.windll.kernel32
783 PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe
866 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
Dtest_support.py322 dll = ctypes.windll.user32
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time.py132 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/
Dsystimes.py135 rc = ctypes.windll.kernel32.GetProcessTimes(
136 ctypes.windll.kernel32.GetCurrentProcess(),
/external/mesa3d/src/gallium/tools/trace/
Dformat.py136 self.handle = ctypes.windll.kernel32.GetStdHandle(nStdHandle)
143 ctypes.windll.kernel32.SetConsoleTextAttribute(self.handle, attr)
/external/python/cpython2/Lib/ctypes/
D__init__.py244 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/
Dlist_ports_windows.py76 setupapi = ctypes.windll.LoadLibrary("setupapi")
106 advapi32 = ctypes.windll.LoadLibrary("Advapi32")
/external/python/cpython2/Tools/unicode/
Dgenwincodec.py12 MultiByteToWideChar = ctypes.windll.kernel32.MultiByteToWideChar
/external/v8/tools/testrunner/local/
Dcommands.py47 ctypes.windll.kernel32.SetErrorMode(mode) #@UndefinedVariable
/external/webrtc/tools/network_emulator/
Dnetwork_emulator.py98 if ctypes.windll.shell32.IsUserAnAdmin() == 0:
/external/webrtc/
Dsetup_links.py262 if not ctypes.windll.kernel32.CreateSymbolicLinkW(
489 return ctypes.windll.shell32.IsUserAnAdmin() != 0
/external/python/cpython2/Lib/
Duuid.py396 ctypes.windll.kernel32.GetSystemDirectoryA(buffer, 300)
484 lib = ctypes.windll.rpcrt4
/external/libyuv/files/
Dsetup_links.py241 if not ctypes.windll.kernel32.CreateSymbolicLinkW(
468 return ctypes.windll.shell32.IsUserAnAdmin() != 0
/external/python/cpython2/Doc/library/
Dctypes.rst36 :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/
Dvk-layer-introspect.py26 VKAPI_DLL = ctypes.windll
/external/python/cpython2/Doc/faq/
Dwindows.rst319 kernel32 = ctypes.windll.kernel32