use win32file api instead of ctypes