创建网络驱动程序

发布于 2024-07-12 13:32:44 字数 223 浏览 9 评论 0原文

在编写硬件驱动程序方面我几乎是个白痴,但我在 C/C++ 方面相当不错。

我有一个有趣的项目,我想从事该项目,尝试使用设备作为网络系绳代理。

我想做的是创建一个驱动程序,它看起来像是 Windows 的网络驱动程序,但实际上是通过连接到另一个设备的 USB 端口发送/接收的。

我很清楚需要实施什么,但我不太知道从哪里开始寻找研究信息。

有什么指点吗?

I'm pretty much a total idiot when it comes to writing hardware drivers, however I'm fairly decent at C/C++.

I have a for fun project I want to work on that is attempting to use a device as a network tether proxy.

What I would like to do is create a driver that appears to be a network driver to windows, but actually sends/receives through a USB port connected to another device.

I have a pretty good idea of what needs to be implemented, but I don't know quite where to start looking for research info.

Any pointers?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

血之狂魔 2024-07-19 13:32:44

获取 DDK 它有大量文档和示例驱动程序可供参考。

Get the DDK It has lots of documentation and sample drivers to start from.

我纯我任性 2024-07-19 13:32:44

codeproject 的这篇文章是有关创建 WDM 驱动程序的教程。 我不能保证它的正确性,但快速浏览一下可以发现很多信息。 这应该是一个很好的研究起点。

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

半边脸i 2024-07-19 13:32:44

我还没有彻底了解它,但是这篇文章似乎是一篇关于在 Windows 中编程设备驱动程序的良好介绍。

编辑:
阅读。 它对设备驱动程序进行了很好的介绍,简要介绍了相关概念和常见陷阱,并具有良好的外部链接。 如果您对驱动程序一无所知,那么值得一读。

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

EDIT:
Read it. It gives a good introduction to device drivers, briefly introducing related concepts and common pitfalls with good external links. Worth reading if you know nothing about drivers.

半枫 2024-07-19 13:32:44

除了 DDK 文档之外,通常推荐的一本书是 Oney 的《Programming the Microsoft Windows Driver Model》(WDM)。 尽管现在您可能只能针对较新的 Windows 驱动程序基础 (WDF) 进行开发,这大大减少了驱动程序 PnP 和电源感知的工作量。

OSR 上的资源非常适合初学者和高级讨论,包括论文、教程和邮件列表。 OSR 还提供演示硬件套件,可帮助您开始为真实设备开发驱动程序。

Apart from the DDK documention, a commonly recommended book is Oney's Programming the Microsoft Windows Driver Model (WDM). Though these days you might be able to just only develop for the newer windows driver foundation (WDF), which greatly reduces efforts in making your driver PnP and power aware.

Then the resources at OSR are great, both for 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.

罗罗贝儿 2024-07-19 13:32:44

避免代码项目(一点也不专业)
下载包含数十个示例的MS DDK(专业)

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文