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