阅读:805回复:2
WDM
哪位大虾能详细说说WDM的吗?
|
|
沙发#
发布于: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. |
|
|
板凳#
发布于:2005-03-21 15:37
概念不重要,搞清架构和思想
|
|
|