Show More
@@ -138,8 +138,11 b' class _CONSOLE_SCREEN_BUFFER_INFO(ctypes' | |||
|
138 | 138 | _kernel32.CloseHandle.argtypes = [_HANDLE] |
|
139 | 139 | _kernel32.CloseHandle.restype = _BOOL |
|
140 | 140 | |
|
141 | _kernel32.CreateHardLinkA.argtypes = [_LPCSTR, _LPCSTR, ctypes.c_void_p] | |
|
142 |
_kernel32.CreateHardLinkA. |
|
|
141 | try: | |
|
142 | _kernel32.CreateHardLinkA.argtypes = [_LPCSTR, _LPCSTR, ctypes.c_void_p] | |
|
143 | _kernel32.CreateHardLinkA.restype = _BOOL | |
|
144 | except AttributeError: | |
|
145 | pass | |
|
143 | 146 | |
|
144 | 147 | _kernel32.SetFileAttributesA.argtypes = [_LPCSTR, _DWORD] |
|
145 | 148 | _kernel32.SetFileAttributesA.restype = _BOOL |
General Comments 0
You need to be logged in to leave comments.
Login now