Roadmap for Developing Windows Storage Drivers
Last Updated: 4/20/2017
To create a storage driver, perform the following steps: 9个步骤
- Learn about Windows architecture and drivers. 学习Windows系统架构和驱动知识
You must understand the fundamentals of how drivers work in Windows operating systems. Knowing the fundamentals will help you make appropriate design decisions and allow you to streamline your development process. See Concepts for all driver developers.
- Learn the fundamentals of storage drivers. 学习存储驱动的基础知识
To learn storage driver fundamentals, see Windows Storage Driver Architecture.
- Determine additional storage driver design decisions. 列出驱动开发所需的其他功能
For information about how to make design decisions, see Capabilities Provided by Storport, Storage Virtual Miniport Drivers: When Are They Appropriate?, and Making SCSI Port Miniport Drivers Work with Storport.
- Learn about storage in Windows Vista and later operating systems. 学习Windows Vista以及后面的操作系统
See History of Storport in the Windows Driver Kit (WDK).
- Learn about the Windows driver build, test, and debug processes and tools. 学习Windows驱动编译,测试,调试的过程和工具
Building a driver is not the same as building a user-mode application. See Developing, Testing, and Deploying Drivers for information about Windows driver build, debug, and test processes, driver signing, and Windows Logo testing. See Driver Development Tools for information about building, testing, verifying, and debugging tools.
- Review storage driver samples. 学习存储驱动的例子
To access and review the storport miniport driver samples see the MSDN Code Gallery.
- Develop, build, test, and debug your storage driver. 开发,编译,测试和调试自己开发的驱动程序
See Building a Driver, Testing a Driver, and Debugging a Driver for information about iterative building, testing, and debugging. This process will help ensure that you build a driver that works.
- Create a driver package for your storage driver. 创建驱动包
For more information, see Creating a Driver Package.
- Sign and distribute your storagedriver. 给驱动包加数字签名,发给小伙伴使用
The final step is to sign (optional) and distribute the driver. If your driver meets the quality standards that are defined for Windows Hardware Certification, you can distribute it through the Microsoft Windows Update program. For more information, see Distributing a Driver Package.
These are the basic steps. Additional steps might be necessary based on the needs of your individual driver.
正所谓
条条大路通罗马,九九归一不回头。世人皆叹路难走,少有菜鸟变大牛。