Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

learning to program Windows drivers [closed]

what would you recommend for a resource on learning to program drivers. i am working my way through Programming the Microsoft Windows Driver Model, but i was wondering if any of the examples are vista compatible. additionally, the book is more of a reference of the kernel functions so far. is their a resource that will take the beginner by the hand in making a more intermidiate wdm driver? i have done the basic "hello world" driver.

thanks

like image 216
Samuel Avatar asked Feb 19 '09 17:02

Samuel


People also ask

What language are Windows drivers written in?

Writing a Driver Device drivers are typically written in C, using the Driver Development Kit (DDK). There are functional and object-oriented ways to program drivers, depending on the language chosen to write in. It is generally not possible to program a driver in Visual Basic or other high-level languages.

How do I create a Windows driver?

Create a new driver from a template (File->New Project->Create New Project->Project Type->Driver->Select the template of interest). After you create the project, in the Solution Explorer pane, select and hold (or right-click) the solution and choose Configuration Manager.

How do I manage Windows drivers?

In the search box on the taskbar, enter device manager, then select Device Manager. Select a category to see names of devices, then right-click (or press and hold) the one you'd like to update. Select Search automatically for updated driver software.

What is driver programming?

A driver in software provides a programming interface to control and manage specific lower level interfaces that are often linked to a specific type of hardware, or other low-level service.


2 Answers

Not really answering your question, but as you learn to write drivers, don't forget to regularly check out Doron Holan's blog. His job is to improve the driver development process, and he discusses a lot of common pitfalls and subtleties of driver programming.

like image 190
Mark Avatar answered Sep 27 '22 18:09

Mark


I would strongly recommend starting with KMDF. It is dramatically easier to learn than WDM but still requires you to learn the fundamentals of windows kernel development. Also just hanging out in the OsrOnline fourm is a great way to learn.

like image 20
Matt Davison Avatar answered Sep 27 '22 19:09

Matt Davison