Home | History | Annotate | Download | only in python2.7

Lines Matching refs:ctypes

345         import ctypes
346 buffer = ctypes.create_string_buffer(300)
347 ctypes.windll.kernel32.GetSystemDirectoryA(buffer, 300)
393 # Thanks to Thomas Heller for ctypes and for his help with its use here.
395 # If ctypes is available, use it to find system routines for UUID generation.
398 import ctypes, ctypes.util
404 lib = ctypes.CDLL(ctypes.util.find_library(libname))
434 lib = ctypes.windll.rpcrt4
443 """Get the hardware address on Unix using ctypes."""
444 _buffer = ctypes.create_string_buffer(16)
449 """Get the hardware address on Windows using ctypes."""
450 _buffer = ctypes.create_string_buffer(16)
499 _buffer = ctypes.create_string_buffer(16)
536 _buffer = ctypes.create_string_buffer(16)