Exception:{Desktop composition is disabled} 操作无法完成,因为已禁用桌面合成。 (异常来自 HRESULT:0x80263001)

报错信息 1
COMException: {Desktop composition is disabled} 操作无法完成,因为已禁用桌面合成。 (异常来自 HRESULT:0x80263001)
StackTrace:
   在 Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   在 System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
   在 System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
   在 System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(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.45.0 2026-06-08 23:04 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-06-06 19:39 Microsoft Windows NT 10.0.26100.0
版本:1.45.0 2026-06-05 21:51 Microsoft Windows NT 10.0.26100.0
版本:1.45.0 2026-06-04 09:28 Microsoft Windows NT 10.0.26300.0
版本:1.45.0 2026-06-03 22:05 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-05-29 09:06 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-05-24 21:30 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-05-23 19:26 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-05-22 20:26 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-05-21 23:53 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-05-21 01:15 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-05-20 19:24 Microsoft Windows NT 10.0.26300.0
版本:1.45.0 2026-05-19 14:19 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-05-15 13:52 Microsoft Windows NT 10.0.26200.0