Add Project
This commit is contained in:
17
DllInject.cs
Executable file
17
DllInject.cs
Executable file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace MacroBoard.Inject
|
||||
{
|
||||
#warning Need to get proper unmangled names in the future.
|
||||
class DllInject
|
||||
{
|
||||
[DllImport("KeyboardHook.dll")]
|
||||
public static extern int InstallHook(IntPtr hwndParent);
|
||||
|
||||
[DllImport("KeyboardHook.dll")]
|
||||
public static extern int UninstallHook();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user