using System;
using System.Runtime.InteropServices;
// ReSharper disable InconsistentNaming
namespace Katteker
{
///
/// Native methods.
///
internal static class NativeMethods
{
///
/// Hit Test Caption
///
internal const int HTCAPTION = 0x2;
///
/// Posted when the user presses the left mouse button while the cursor is within the nonclient area of a window.
///
internal const int WM_NCLBUTTONDOWN = 0xA1;
///
/// Release the capture
///
[DllImport("User32.dll")]
internal static extern bool ReleaseCapture();
///
/// Send message
///
[DllImport("User32.dll")]
internal static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
///
/// Set Process API aware
///
[DllImport("user32.dll")]
internal static extern bool SetProcessDPIAware();
}
}