简体   繁体   English

如何在 Windows 10 驱动程序级别模拟键盘输入?

[英]How to simulate keyboard input at driver level in Windows 10?

I want to make simple driver that will simulate keyboard input at driver level.我想制作一个简单的驱动程序来模拟驱动程序级别的键盘输入。 My first idea was to make simple kbdclass filter driver.我的第一个想法是制作简单的 kbdclass 过滤器驱动程序。 But at this point I can't inject my input whenever I want(I need to wait for IRP and then change KEYBOARD_INPUT array).但此时我无法随时注入我的输入(我需要等待 IRP 然后更改 KEYBOARD_INPUT 数组)。 Can somebody explain me how could it be done?有人可以解释我怎么做吗? Also this need to be done in old manner (No kmdf at all).这也需要以旧方式完成(根本没有kmdf)。 Thanks!谢谢!

看WDK中的VHIDMini2驱动

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM