Home | History | Annotate | Download | only in test

Lines Matching refs:ctypes

31     Ctypes symlink implementation since Python doesn't support
34 import ctypes.wintypes
35 CreateSymbolicLink = ctypes.windll.kernel32.CreateSymbolicLinkW
37 ctypes.wintypes.LPWSTR,
38 ctypes.wintypes.LPWSTR,
39 ctypes.wintypes.DWORD,
41 CreateSymbolicLink.restype = ctypes.wintypes.BOOLEAN
62 result_buffer = ctypes.wintypes.LPWSTR()
65 bytes = ctypes.windll.kernel32.FormatMessageW(
70 ctypes.byref(result_buffer),
79 ctypes.windll.kernel32.LocalFree(result_buffer)
84 value = ctypes.windll.kernel32.GetLastError()