Sign in to follow this  

Help programming a simple driver

This topic is 4692 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I've got my hands on the latest DDK and I'm trying to program a driver which will simply respond to my app sending IOCTLs to it with information regarding.. keyup/down and mouse movement (absolute) and mousedown/up. I looked at a few examples and the explanations are just confusing me more. I realize that I need to send the IOCTLs to the i8042prt driver with the writebuffer messages for mouse/keyboard but I can't seem to get the IRP to contain "valid" information.. I used IoGetDeviceObjectPointer, created the IRP and then use IoCallDevice or whatever function it is, but I have no idea what data I'm supposed to be sending as the parameters; The DDK docs don't really give any clear information. In case you missed my goal, I'd like to use this to help my macro application inject mouse/keybd events at the driver level. Could anyone point me out to some decent documentation? Or perhaps even supply some C source for a driver to do what I'm looking for? Thanks for your time.

Share this post


Link to post
Share on other sites

This topic is 4692 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this