User32's import GetWindowThreadProcessId() definition was incorrect.