Exception:尝试读取或写入受保护的内存。这通常指示其他内存已损坏。

报错信息 1
AccessViolationException
   在 System.Windows.Media.Composition.DUCE.UnsafeNativeMethods.MilComposition_WaitForNextMessage(IntPtr pChannel, Int32 nCount, IntPtr[] handles, Int32 bWaitAll, UInt32 waitTimeout, Int32& waitReturn)
   在 System.Windows.Media.MediaContext.CompleteRender()
   在 System.Windows.Media.MediaContext.LeaveInterlockedPresentation()
   在 System.Windows.Media.MediaContext.ScheduleNextRenderOp(TimeSpan minimumDelay)
   在 System.Windows.Media.MediaContext.NotifyPresented(MIL_PRESENTATION_RESULTS presentationResults, Int64 presentationTime, Int32 displayRefreshRate)
   在 System.Windows.Media.MediaContext.NotifyChannelMessage()
   在 System.Windows.Media.MediaContextNotificationWindow.MessageFilter(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.38.35 2024-04-06 20:03 Microsoft Windows NT 10.0.19045.0