Exception:无效的窗口句柄。

报错信息 1
Win32Exception: 无效的窗口句柄。
--NativeErrorCode: 1400
StackTrace:
   在 MS.Internal.PointUtil.ClientToScreen(Point pointClient, PresentationSource presentationSource)
   在 System.Windows.Input.MouseDevice.GlobalHitTest(Boolean clientUnits, Point pt, PresentationSource inputSource, IInputElement& enabledHit, IInputElement& originalHit)
   在 System.Windows.Input.MouseDevice.PreNotifyInput(Object sender, NotifyInputEventArgs e)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.MouseDevice.Synchronize()
   在 System.Windows.Input.InputManager.HitTestInvalidatedAsyncCallback(Object arg)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.45.5 2026-06-09 14:31 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-06-03 10:51 Microsoft Windows NT 10.0.19045.0
报错信息 2
Win32Exception: 无效的窗口句柄。
--NativeErrorCode: 1400
StackTrace:
   在 MS.Win32.ManagedWndProcTracker.HookUpDefWindowProc(IntPtr hwnd)
   在 MS.Win32.ManagedWndProcTracker.OnAppDomainProcessExit()
   在 MS.Internal.ShutDownListener.HandleShutDown(Object sender, EventArgs e)

版本:1.45.5 2026-06-04 09:03 Microsoft Windows NT 10.0.26100.0
报错信息 3
Win32Exception: 无效的窗口句柄。
--NativeErrorCode: 1400
StackTrace:
   在 MS.Internal.PointUtil.ScreenToClient(Point pointScreen, PresentationSource presentationSource)
   在 System.Windows.Controls.PopupControlService.ConvexHull.ContainsMousePoint()
   在 System.Windows.Controls.PopupControlService.MouseHasLeftSafeArea()
   在 System.Windows.Controls.PopupControlService.OnMouseMove(IInputElement directlyOver)
   在 System.Windows.Controls.PopupControlService.OnPostProcessInput(Object sender, ProcessInputEventArgs e)
   在 System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.45.5 2026-06-01 16:42 Microsoft Windows NT 10.0.19045.0