开发者

How to send user input into another (terminal server) session?

开发者 https://www.devze.com 2023-03-24 09:40 出处:网络
Windows API has functions that simulate user input, such as keybd_event, mouse_event and SendInput. However they do this on the input queue of t开发者_Python百科he current session.

Windows API has functions that simulate user input, such as keybd_event, mouse_event and SendInput. However they do this on the input queue of t开发者_Python百科he current session.

I'd like to be able to send user input from a process running in session 0 to any other session. One way to achieve this is to run an agent in every session that will do the work. However I'd like to do this without injecting agents if possible.

kernel-mode solution is also ok. Thanks in advance.

0

精彩评论

暂无评论...
验证码 换一张
取 消