Lines Matching refs:ctypes
314 import ctypes
315 kernel32 = ctypes.windll.kernel32
316 buf = ctypes.create_string_buffer("", 100)
775 import ctypes
776 from ctypes import wintypes
783 PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe
786 ctypes.POINTER(ctypes.c_char), # stdout buf
788 ctypes.POINTER(wintypes.DWORD), # bytes read
789 ctypes.POINTER(wintypes.DWORD), # bytes avail
790 ctypes.POINTER(wintypes.DWORD)) # bytes left
807 buf = ctypes.create_string_buffer(len(msg))
811 buf, ctypes.sizeof(buf), None, None, None)
861 from ctypes import wintypes
862 import ctypes
865 NULL = ctypes.POINTER(ctypes.c_int)()
866 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
867 SetConsoleCtrlHandler.argtypes = (ctypes.POINTER(ctypes.c_int),