Exception:无效的窗口句柄。

报错信息 1
Win32Exception: 无效的窗口句柄。
--NativeErrorCode: 1400
StackTrace:
   在 System.Windows.Forms.SendKeys.SendInput(Byte[] oldKeyboardState, Queue previousEvents)
   在 System.Windows.Forms.SendKeys.Send(String keys, Control control, Boolean wait)
   在 Cea.Utils.ClipboardHelper.<SendCtrlV>d__2.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 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.44.13 2025-07-08 18:46 Microsoft Windows NT 10.0.22631.0
报错信息 2
Win32Exception: 无效的窗口句柄。
--NativeErrorCode: 1400
StackTrace:
   在 Standard.NativeMethods.GetWindowPlacement(IntPtr hwnd)
   在 System.Windows.Shell.WindowChromeWorker._GetHwndState()
   在 System.Windows.Shell.WindowChromeWorker._UpdateSystemMenu(Nullable`1 assumeState)
   在 System.Windows.Shell.WindowChromeWorker._HandleWindowPosChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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.44.13 2025-06-20 17:05 Microsoft Windows NT 10.0.26100.0