DDK"的Hello World" [英] DDK "Hello World"

查看:224
本文介绍了DDK"的Hello World"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个人如何开始为Windows编写驱动程序?是否有某种正式的DDK的Hello World的例子在那里?

How does one begin writing drivers for Windows? Is there some sort of official DDK "Hello World" example out there?

虽然我敢肯定,这将是我头上的第一种方式,最终我想创建一个简单的MIDI驱动程序,很像的枫虚拟MIDI电缆那里的MIDI信息来自于用户应用程序,而不是一个物理设备。

While I'm sure it will be way above my head at first, eventually I would like to create a simple MIDI driver, much like the Maple Virtual MIDI Cable where the MIDI messages come from a user application rather than a physical device.

(与使用现成的架子MIDI回环司机麻烦的是,输入和输出端的存在往往是混淆的用户。我的应用程序生成被发送到其他程序的MIDI输入MIDI输出,所以,如果我能创建一个连接到我的程序,而不是硬件假驾驶,它会消除这种混乱。)

(The trouble with using the off-the-shelf MIDI loopback drivers is that the existence of an input and output end is often confusing for the user. My application generates MIDI output that gets sent to the MIDI input of other programs, so if I could create a fake driver that connects to my program rather than hardware, it would eliminate this confusion.)

感谢您的时间。

推荐答案

的WDK文档是参考资料,他们不会教你如何开始。基本都包含在WDK样品code,有很多很多的,你经常可以发现一些类似于您要创建的类型的驱动程序。一个普通的过滤器驱动程序可在src \\ KMDF \\多士炉\\ filter目录,我认为这是如果我正确地理解你的目标你需要的东西。

The WDK docs are reference material, they won't teach you how to get started. Essential are the sample code included with the WDK, there's lots of it and you can often find something that resembles the kind of driver you want to create. A generic filter driver is available in the src\kmdf\toaster\filter directory, I think that's what you'd need if I understand your goal properly.

沃尔特Oney的书是必不可少的学习重要概念,强烈推荐。我一直运行到osronline.com作为一个网站,强烈地专注于驱动程序的开发,与论坛。您通常不会在这里找到太多的帮助,这是一个相当专业的一种编码。

Walter Oney's books are essential to learn important concepts, strongly recommended. I keep running into osronline.com as a web site that strongly focuses on driver development, with forums. You typically won't find much help here, it is a rather specialized kind of coding.

这篇关于DDK"的Hello World"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆