Files
FSI.BT.IR.Tools/NHotkey/NativeMethods.cs
maier_S b78f6541dc Squashed 'NHotkey/' content from commit e16cceb
git-subtree-dir: NHotkey
git-subtree-split: e16cceb7b3e108413d409dbf355a67835822a5e7
2022-03-23 10:15:54 +01:00

14 lines
413 B
C#

using System;
using System.Runtime.InteropServices;
namespace NHotkey
{
static class NativeMethods
{
[DllImport("user32.dll", SetLastError = true)]
internal static extern bool RegisterHotKey(IntPtr hWnd, int id, HotkeyFlags fsModifiers, uint vk);
[DllImport("user32.dll", SetLastError = true)]
internal static extern bool UnregisterHotKey(IntPtr hWnd, int id);
}
}