Lines Matching refs:ctypes
313 import ctypes
314 kernel32 = ctypes.windll.kernel32
315 buf = ctypes.create_string_buffer("", 100)
700 import ctypes
701 from ctypes import wintypes
708 PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe
711 ctypes.POINTER(ctypes.c_char), # stdout buf
713 ctypes.POINTER(wintypes.DWORD), # bytes read
714 ctypes.POINTER(wintypes.DWORD), # bytes avail
715 ctypes.POINTER(wintypes.DWORD)) # bytes left
732 buf = ctypes.create_string_buffer(len(msg))
736 buf, ctypes.sizeof(buf), None, None, None)
786 from ctypes import wintypes
787 import ctypes
790 NULL = ctypes.POINTER(ctypes.c_int)()
791 SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
792 SetConsoleCtrlHandler.argtypes = (ctypes.POINTER(ctypes.c_int),