change from GetWindowLong to GetWindowLongPtr for x64 compatible