dplion
驱动牛犊
驱动牛犊
  • 注册日期2005-03-21
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:805回复:2

WDM

楼主#
更多 发布于:2005-03-21 13:30
哪位大虾能详细说说WDM的吗?
aiwadgj
驱动老牛
驱动老牛
  • 注册日期2004-11-13
  • 最后登录2020-12-24
  • 粉丝0
  • 关注0
  • 积分119分
  • 威望84点
  • 贡献值0点
  • 好评度14点
  • 原创分0分
  • 专家分0分
  • 社区居民
沙发#
发布于:2005-03-21 14:22
这是简单的,,自己在网上搜搜吧。。。2 Windows Driver Model (WDM)
2.1 What\'s WDM?
WDM, formerly known as the \"Windows Driver Model\", and now known as the \"Win32 Driver Model\" (a confusing name, since it does not use Win32 APIs), essentially is the NT driver model but with a few things changed, a few things left out, and a large number of new IRP types and callable routines provided by the OS. Most of the new stuff is there to to support to support new (to NT) functionality such as plug and play and power management. It is implemented (with some differences) on both Windows 2000 and Windows 98.

2.1.1 Why did Microsoft implement WDM?
WDM is primarily an effort by Microsoft to encourage developers to write drivers for Windows NT by providing a common driver model that will work on both Windows NT Version 5 (now renamed \"Windows 2000\") and Windows 98.

2.1.2 So, what\'s a \"WDM Driver\"?
Rigorously speaking, it\'s a driver written to the WDM interfaces and which is binary-compatible between Windows 98 and Windows 2000. That is, if it\'s a \"WDM driver,\" the same driver binary will run on both Windows 98 and Windows 2000, without recompiling or relinking.

However, it is certainly possible (and sometimes desirable) for drivers that use some of the new WDM interfaces to not be binary-compatible, nor even source-compatible, between the two OS\'s. In other words, simply using the WDM interfaces does not guarantee portability. Or to put it another way, plug and play and power management are parts of WDM, but an NT-only (hence \"not WDM\") driver can nevertheless use the plug and play and power management interfaces. The terminology is admittedly confusing.



酒也在沉溺,何时麻醉我抑郁。过去了的一切会平息。。。。。。。
bmyyyud
驱动老牛
驱动老牛
  • 注册日期2002-02-22
  • 最后登录2010-01-21
  • 粉丝0
  • 关注0
  • 积分1000分
  • 威望130点
  • 贡献值0点
  • 好评度106点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2005-03-21 15:37
概念不重要,搞清架构和思想
滚滚长江东逝水 浪花淘尽英雄 是非成败转头空 青山依旧在 几度夕阳红 白发渔樵江渚上 惯看秋月春风 一壶浊酒喜相逢 古今多少事 尽付笑谈中
游客

返回顶部