Index: Core/Common/test/Core.Common.Gui.Test/ExceptionDialogTest.cs =================================================================== diff -u -r9c994803517a7358ceb479b018da20285621aa33 -rb61f7c3d74ab7e05645db5f7ff4bed405a79f485 --- Core/Common/test/Core.Common.Gui.Test/ExceptionDialogTest.cs (.../ExceptionDialogTest.cs) (revision 9c994803517a7358ceb479b018da20285621aa33) +++ Core/Common/test/Core.Common.Gui.Test/ExceptionDialogTest.cs (.../ExceptionDialogTest.cs) (revision b61f7c3d74ab7e05645db5f7ff4bed405a79f485) @@ -351,9 +351,6 @@ private static extern IntPtr GetOpenClipboardWindow(); [DllImport("user32.dll")] - private static extern IntPtr GetClipboardOwner(); - - [DllImport("user32.dll")] private static extern int GetWindowText(int hwnd, StringBuilder text, int count); [DllImport("user32.dll")] @@ -364,12 +361,6 @@ private static void WriteDebuggingInformation() { - // Write id and name of process that last opened the Clipboard - GetWindowThreadProcessId(GetClipboardOwner(), out int ownerProcessId); - Process ownerProcess = Process.GetProcessById(ownerProcessId); - Console.WriteLine($"Id of process that last opened the Clipboard = {ownerProcessId}"); - Console.WriteLine($"Name of process that last opened the Clipboard = {ownerProcess.ProcessName}"); - // Write id and name of process that blocks the Clipboard to Console GetWindowThreadProcessId(GetOpenClipboardWindow(), out int processId); Process process = Process.GetProcessById(processId);