This commit is contained in:
优雅的母鸡 2024-08-30 09:20:32 +08:00
commit bb95d27da3

View File

@ -25,7 +25,7 @@ namespace 鼠标连点器
private const int WM_KEYDOWN = 0x0100; private const int WM_KEYDOWN = 0x0100;
private const int VK_F8 = 0x77; // Virtual key code for F8 private const int VK_F8 = 0x77; // Virtual key code for F8
/// Importing necessary Windows API functions // Importing necessary Windows API functions
[DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)]
public static extern void mouse_event(int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo); public static extern void mouse_event(int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo);