Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/ManagedShell.Interop/NativeMethods.User32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3046,6 +3046,32 @@ public enum KLF : uint
SETFORPROCESS = 0x00000100
}

[Flags]
public enum MOD : uint
{
/// <summary>
/// Either ALT key must be held down.
/// </summary>
ALT = 0x0001,
/// <summary>
/// Either CTRL key must be held down.
/// </summary>
CONTROL = 0x0002,
/// <summary>
/// Changes the hotkey behavior so that the keyboard auto-repeat does not yield multiple hotkey notifications.
/// Windows Vista: This flag is not supported.
/// </summary>
NOREPEAT = 0x4000,
/// <summary>
/// Either SHIFT key must be held down.
/// </summary>
SHIFT = 0x0004,
/// <summary>
/// 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.
/// </summary>
WIN = 0x0008
}

public enum VK : int
{
///<summary>
Expand Down