DDK - How to write a device driver?
Hi all,
I am required to write a device driver for an I/O card that needs to run under NT 4.0 or later.
I do know that I probably need to create an NT service. This service should supply interface functions to manipulate the I/O registers and read data. The original code to do this that I have ran quite happily under W95, but needs to deactivate all interrupts (which is not allowed in NT application code), so it needs to migrate into the NT kernal as a service. I need to know what type of service to create and how to call the functions that the service provides from another C++ application.
Can anybody tell me what type of service to use, and how to link it to access it from a standard C++ application. Example code would be very helpful if possible.
Thanks in advance,
Roger Allen
Please use meaningful question titles - "Help me" does not let me know whether I can help with your question, and I am unlikely to bother reading it.
Please remember to rate useful answers. It lets us know when a question has been answered.