Prev: Number of DPC-Objects allowed in wait queue ?
Next: Our disk's driver run properly compiled for 32bit and not for 64bi
From: inderpaul on 27 Feb 2010 20:05 Hello all. Just for fun I am working on a small project where I would like to hook the keys selected by the user from On Screen Keyboard (that comes with XP) in which they use their mouse to select keys and which gets sent to the target application like Firefox or IE. Can this be done using device driver code ? I prefer to keep my existing filter driver code and add this new feature to it if its possible. Hoping I am being clear and if not please feel free to ask questions. Thanks in advance Victor
From: Doron Holan [MSFT] on 1 Mar 2010 12:53 no, this is an entirely user mode concept and a driver will not help -- This posting is provided "AS IS" with no warranties, and confers no rights. "inderpaul" <inderpaul_s(a)yahoo.com> wrote in message news:7ff8fd74-3a80-4003-9c58-08d24802a3c3(a)j27g2000yqn.googlegroups.com... > Hello all. > > Just for fun I am working on a small project where I would like to > hook the keys selected by the user from On Screen Keyboard (that comes > with XP) in which they use their mouse to select keys and which gets > sent to the target application like Firefox or IE. > > Can this be done using device driver code ? I prefer to keep my > existing filter driver code and add this new feature to it if its > possible. > > Hoping I am being clear and if not please feel free to ask questions. > > Thanks in advance > > Victor
From: inderpaul on 1 Mar 2010 17:50 On Mar 1, 12:53 pm, "Doron Holan [MSFT]" <doron.ho...(a)online.microsoft.com> wrote: > no, this is an entirely user mode concept and a driver will not help > > -- > > This posting is provided "AS IS" with no warranties, and confers no rights. > > "inderpaul" <inderpau...(a)yahoo.com> wrote in message > > news:7ff8fd74-3a80-4003-9c58-08d24802a3c3(a)j27g2000yqn.googlegroups.com... > > > Hello all. > > > Just for fun I am working on a small project where I would like to > > hook the keys selected by the user from On Screen Keyboard (that comes > > with XP) in which they use their mouse to select keys and which gets > > sent to the target application like Firefox or IE. > > > Can this be done using device driver code ? I prefer to keep my > > existing filter driver code and add this new feature to it if its > > possible. > > > Hoping I am being clear and if not please feel free to ask questions. > > > Thanks in advance > > > Victor Thanks Doron for the reply. Can you tell me then whats the best user mode method of intercepting key strokes which gets sent to either Firefox or IE ?. Best Regards
From: Doron Holan [MSFT] on 2 Mar 2010 13:44 why do you want to distinguish between a soft and real keyboard? doing so breaks accessibility d -- This posting is provided "AS IS" with no warranties, and confers no rights. "inderpaul" <inderpaul_s(a)yahoo.com> wrote in message news:f68a3b3d-de1c-4000-aebd-b9bd7ebe5fe5(a)d2g2000yqa.googlegroups.com... > On Mar 1, 12:53 pm, "Doron Holan [MSFT]" > <doron.ho...(a)online.microsoft.com> wrote: >> no, this is an entirely user mode concept and a driver will not help >> >> -- >> >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> >> "inderpaul" <inderpau...(a)yahoo.com> wrote in message >> >> news:7ff8fd74-3a80-4003-9c58-08d24802a3c3(a)j27g2000yqn.googlegroups.com... >> >> > Hello all. >> >> > Just for fun I am working on a small project where I would like to >> > hook the keys selected by the user from On Screen Keyboard (that comes >> > with XP) in which they use their mouse to select keys and which gets >> > sent to the target application like Firefox or IE. >> >> > Can this be done using device driver code ? I prefer to keep my >> > existing filter driver code and add this new feature to it if its >> > possible. >> >> > Hoping I am being clear and if not please feel free to ask questions. >> >> > Thanks in advance >> >> > Victor > > Thanks Doron for the reply. > > Can you tell me then whats the best user mode method of intercepting > key strokes which gets sent to either Firefox or IE ?. > > Best Regards >
From: Ray Trent on 2 Mar 2010 13:59
It sounds to me like he wants to *not* distinguish between a soft keyboard and a real keyboard (i.e. he seems to already have a filter driver for the real ones, and wants to include the soft ones). Leaving aside, for the moment, whether it's a good idea for security reasons for anyone to be snooping on the keyboard, the only way I know would be to set up a global low-level keyboard hook in a user-mode program (search for SetWindowsHookEx). However, that won't work on some elevated applications. For a large subset of those, you can use the uiAccess=TRUE trick (search for it) and that will let you get at those, but there are a few apps running at higher access levels than even this gives access to. On 3/2/2010 10:44 AM, Doron Holan [MSFT] wrote: > why do you want to distinguish between a soft and real keyboard? doing > so breaks accessibility > > d > -- Ray |