using System; using System.Runtime.InteropServices; namespace Katteker.Gui { /// /// Native methods. /// public static class NativeMethods { /// /// Release the capture /// [DllImport("User32.dll")] public static extern bool ReleaseCapture(); /// /// Send message /// [DllImport("User32.dll")] public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam); /// /// Set Process API aware /// [DllImport("user32.dll")] public static extern bool SetProcessDPIAware(); } }