Creating a network driver

I am pretty much an idiot when it comes to writing hardware drivers, but I'm pretty decent in C / C ++.

I have a project for pleasure that I want to work on, this is an attempt to use the device as a proxy server for a network cable.

I would like to create a driver, which is a network driver for Windows, but actually sends / receives via a USB port connected to another device.

I have a pretty good idea of ​​what needs to be implemented, but I don’t know where to start looking for research information.

Any pointers?

+4
source share
5 answers

Get DDK It has a lot of documentation and example drivers to get you started.

+6
source

This article from codeproject is a tutorial on creating a WDM driver. I can not vouch for its correctness, but a quick shot showed a lot of information. This should be a good starting point for research.

+3
source

I haven’t gone through this yet, but this article seems like a good introduction to Windows programming device drivers.

EDIT: Read it. This gives a good idea of ​​device drivers, briefly introducing related concepts and common errors with good external links. Worth reading if you don't know anything about drivers.

+3
source

In addition to the DDK document, the recommended book is Oney. Microsoft Windows Driver Model Programming (WDM). Although nowadays you can only develop a new Windows Driver Base (WDF), which greatly reduces the effort to create your PnP driver and its usability.

OSR resources are then great for both beginners and advanced discussions, including essays, tutorials, and mailing lists. OSR also has demo hardware kits to help you get started developing drivers for real devices.

+2
source

Avoid codeproject (not at all professional) Download MS DDK with dozens of samples (professional)

-1
source

All Articles