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

namespace NetCoreSample
{
    static public class WinAPI
    {
        public const uint DBT_DEVICEARRIVAL = 0x8000;
        public const uint DBT_DEVICEREMOVECOMPLETE = 0x8004;

        [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
        static public extern uint RegisterWindowMessage(string lpString);
    }
}
