diff --git a/src/ManagedShell.Interop/NativeMethods.User32.cs b/src/ManagedShell.Interop/NativeMethods.User32.cs index fe8de3e4..97078052 100644 --- a/src/ManagedShell.Interop/NativeMethods.User32.cs +++ b/src/ManagedShell.Interop/NativeMethods.User32.cs @@ -3046,6 +3046,32 @@ public enum KLF : uint SETFORPROCESS = 0x00000100 } + [Flags] + public enum MOD : uint + { + /// + /// Either ALT key must be held down. + /// + ALT = 0x0001, + /// + /// Either CTRL key must be held down. + /// + CONTROL = 0x0002, + /// + /// Changes the hotkey behavior so that the keyboard auto-repeat does not yield multiple hotkey notifications. + /// Windows Vista: This flag is not supported. + /// + NOREPEAT = 0x4000, + /// + /// Either SHIFT key must be held down. + /// + SHIFT = 0x0004, + /// + /// Either WINDOWS key must be held down. These keys are labeled with the Windows logo. Keyboard shortcuts that involve the WINDOWS key are reserved for use by the operating system. + /// + WIN = 0x0008 + } + public enum VK : int { ///