OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。 StackTrace: 在 System.Runtime.InteropServices.COMException..ctor() 在 MS.Win32.Penimc.IPimcManager2.GetTablet(UInt32 tablet, IPimcTablet2& IPimcTablet) 在 System.Windows.Input.PenThreadWorker.WorkerOperationGetTabletsInfo.OnDoWork() 在 System.Windows.Input.PenThreadWorker.WorkerOperation.DoWork() 在 System.Windows.Input.PenThreadWorker.ThreadProc() 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 在 System.Threading.ThreadHelper.ThreadStart()