Key Stroke Simulation

Hi all:

I want to know if there is a way to simulate keyboard stroke. Like the
host machine in pcAnywhere.
I have ever tried to do this in a device driver. But all IRPs are
issued by the system while drivers can not create one and return it to
the system. So, how to simulate this?

Any ideas?
Thanks for replies.

Ray Yang
xxxxx@yahoo.com
2001-11-06
(???r??z{e?˛???m?m?{]z???&j)@u?Ӣ?칻?&ޱ??i?Z?G?j)m?W???u?칻-E?"?Ǧm??(Z?X???,??&

Why don’t you use user mode SendInput ?

From: Ray Yang
>Reply-To: “NT Developers Interest List”
>To: “NT Developers Interest List”
>Subject: [ntdev] Key Stroke Simulation
>Date: Tue, 6 Nov 2001 11:5:7 +0800
>
>Hi all:
>
>I want to know if there is a way to simulate keyboard stroke. Like the
>host machine in pcAnywhere.
>I have ever tried to do this in a device driver. But all IRPs are
>issued by the system while drivers can not create one and return it to
>the system. So, how to simulate this?
>
>Any ideas?
>Thanks for replies.
>
>
>Ray Yang
>xxxxx@yahoo.com
>2001-11-06

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

If you have to inject key strokes in the kernel, the kbfilter
2000 ddk sample could be made to do it. SendInput is much easier.

-----Original Message-----
From: Andrew Shafranov [mailto:xxxxx@hotmail.com]
Sent: Tuesday, November 06, 2001 11:01 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Key Stroke Simulation

Why don’t you use user mode SendInput ?

From: Ray Yang
>Reply-To: “NT Developers Interest List”
>To: “NT Developers Interest List”
>Subject: [ntdev] Key Stroke Simulation
>Date: Tue, 6 Nov 2001 11:5:7 +0800
>
>Hi all:
>
>I want to know if there is a way to simulate keyboard stroke. Like the
>host machine in pcAnywhere.
>I have ever tried to do this in a device driver. But all IRPs are
>issued by the system while drivers can not create one and return it to
>the system. So, how to simulate this?
>
>Any ideas?
>Thanks for replies.
>
>
>Ray Yang
>xxxxx@yahoo.com
>2001-11-06

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


You are currently subscribed to ntdev as: xxxxx@xetron.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com