using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace RealTimeGraphEx.DX2D { /// /// Defines the native methods /// public static class NativeMethods { [DllImport("user32.dll", SetLastError = false)] public static extern IntPtr GetDesktopWindow(); } }