﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace GitSharpGUI
{
    /// <summary>
    /// Win32APIなどNativeな関数を提供します
    /// </summary>
    public static class NativeMethods
    {
        public readonly static int WM_NCLBUTTONDOWN = 0xA1;
        public readonly static IntPtr HT_CAPTION = (IntPtr)0x2;
        [DllImport("user32.dll", CharSet = CharSet.Auto)]
        internal static extern IntPtr SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam);
        [DllImport("user32.dll")]
        internal static extern bool ReleaseCapture();
    }
}
