From 954ead41d9391bca28a3cc4f9592f73f25b3bbc8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 02 一月 2023 17:55:06 +0800 Subject: [PATCH] '完善批量设置代码' --- ConsoleApplication/Win32Util.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ConsoleApplication/Win32Util.h b/ConsoleApplication/Win32Util.h index 05964d3..7650588 100644 --- a/ConsoleApplication/Win32Util.h +++ b/ConsoleApplication/Win32Util.h @@ -36,6 +36,9 @@ //键盘输入其他键 static void keyboard(int code, int delay=0); + //虚拟键入 + static void virtualKeyboard(HWND hwnd, int code); + //键盘键入粘贴 static void keyboardPaste(); @@ -64,5 +67,7 @@ //获取现在的时间 static string getNowTime(); + + static void sendMessage(HWND hwnd, UINT msg, LPARAM p0, LPARAM p1); }; -- Gitblit v1.8.0