using System; namespace Vanara.PInvoke { /// The state of the other mouse buttons plus the SHIFT and CTRL keys. [PInvokeData("winuser.h")] [Flags] public enum MouseButtonState { /// The left mouse button is down. MK_LBUTTON = 0x0001, /// The right mouse button is down. MK_RBUTTON = 0x0002, /// The SHIFT key is down. MK_SHIFT = 0x0004, /// The CTRL key is down. MK_CONTROL = 0x0008, /// The middle mouse button is down. MK_MBUTTON = 0x0010, /// The XBUTTON1 button is down. MK_XBUTTON1 = 0x0020, /// The XBUTTON2 button is down. MK_XBUTTON2 = 0x0040, } }