Use IsWow64(HWND) instead of IsWow64(PID)