1 / 42

Introduction To The Windows Driver Kit: A Comprehensive Driver Development Solution

Introduction To The Windows Driver Kit: A Comprehensive Driver Development Solution. Lee Davis Lead Program Manager Windows Driver Kits Microsoft Corporation. Session Outline. The WDK tool set for designing, developing, testing, qualifying and deploying drivers What to do at WinHEC

misu
Download Presentation

Introduction To The Windows Driver Kit: A Comprehensive Driver Development Solution

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction To The Windows Driver Kit: A Comprehensive Driver Development Solution Lee DavisLead Program ManagerWindows Driver KitsMicrosoft Corporation

  2. Session Outline • The WDK tool set for designing, developing, testing, qualifying and deploying drivers • What to do at WinHEC • Get in depth information on tools • Get hands-on experience with the tools • Talk to the experts • Where to get more information on WDK tools

  3. The WDK Tool Set • A Comprehensive Solution

  4. Test Lab Build Lab Release Team Development Team A Comprehensive Solution Docs Signing Tools Driver Test Manager Driver Verifier Static Analysis Tools Driver Test Framework Build Environments Winqual Integration Docs Signing Tools Samples Windows Driver Framework

  5. WDK Docs And Samples • It’s easier to find the information you need • Improved indexing, search and navigation • One-stop shopping • DDK, IFS and HCT docs integrated into one doc set • Samples are searchable • Search multiple external documentation such as MSDN online and Codezone communities

  6. Windows Vista Build Environments • The tools, libraries and headers you need to create drivers for Windows Vista • Tools now included in the build environment • PREfast for drivers • Static Driver Verifier (SDV) • DIFx tools • Windows Driver Framework • Windows Driver Test Framework

  7. Header Versioning • Build drivers for Windows 2000 forward using one set of headers • Easier to use up level features of later OS environments • Easy to see changes in headers across OS versions • Includes kernel mode and user mode headers

  8. Windows Driver Foundation • Simplifies driver development • Replaces complex boilerplate with frameworks • Plug and play and power management abstracted via frameworks • Simplifies creating secure and stable drivers • Quicker development

  9. Windows Driver Foundation • Enables moving driver to user mode via User Mode Driver Framework • Headers and libs are included in the WDK build environment • Kernel Mode Driver Framework and UMDF samples are searchable in the docs via WDK help

  10. Static Analysis Tools • Enables early detection of complex and difficult to find driver defects • Reduce development time • Create more stable and secure drivers • Reduce test time • Identify critical issues pre-release • Tools included in the WDK • PREfast for Drivers • Static Driver Verifier (SDV) • Automate these tools via the Driver Test Manager (DTM)

  11. Driver Verifier • Detecting more defect types • IRP Dispatch • Inconsistent MDL structures • User-mode addresses andother malformed structures • Synch objects in pageable memory • Easier to use • Enable/disable Verifier without rebooting • More flexible Low Resource Simulation behavior

  12. Driver Test Manager • The test automation framework used by Microsoft to test Windows • The required test platform for all Windows hardware Logo testing

  13. Driver Test Manager • Improved testing throughput • Parallel execution • Automated scheduling and execution of tests • Integrated OS deployment tools • Enables test integration • Use additional Microsoft QA tests • Mix and match Logo, Microsoft QA and your tests to create a custom test pass • Automate tasks such as building drivers, running static analysis and deploying Windows

  14. Driver Test Manager • Quick and easy client installs • Remote administration • Create tests • Schedule tests • Deploy operating systems to clients • Review results • Easier collaboration • Easily export tests for use in other labs • Export multiple results and logs to a single CAB • View exported results in a light-weight viewer

  15. Driver Test Framework • Frameworks for developing driver tests • DTF is to driver test development what WDF is to driver development • Simplify test development • Enable test developers to focus on device specifics • Write better tests in less time • Create tests that work across multiple devices and device classes

  16. Driver Test Framework • Integrates with Driver Test Manager • Headers and libs are included in the WDK build environment • Many of the DTM Logo tests are built on DTF

  17. Winqual Integration • Easier testing processes • Automated selection of tests based on device capabilities • Logo Wizard walks you through the process • Status indicator keeps you up to date • Easier submissions • Automated errata and contingency filtering eliminates uncertainty and improves efficiency • Packaging specifically for the simplified Winqual reduces manual processing time • Programmatic collection of data eliminates common errors and ensure a successful submission

  18. Signing Tools • Authenticode signing tools now ship in the WDK • Create your own certificates • Create your own catalogs • Sign your own driver catalogs • Trusted by DMI • Required to stop install popup • Trusted by KMCS • Required to load in Vista x64

  19. Driver Install (DIFx) Tools • Simplified driver deployment • Simplified driver installation for your customers • Add on to your app installer to install drivers • DIFx tools are included in the WDK build environments

  20. What To Do At WinHEC Driver Development Topics

  21. Windows Driver Framework • UMDF sessions • “User Mode Driver Frameworks: Introduction and Overview” 3:15 today in room 6C • “User Mode Driver Frameworks: Technical Synopsis” 4:30 today in room 6C • Visit the UMDF and KMDF labs on the 6th floor • Design Preview Agreement required for both labs • Preview the samples and frameworks at the WDK lab

  22. Static Analysis Tools • Attend WinHEC sessions “Static Analysis and Verification of Drivers” today at 5:30 in room 6C • Visit the static analysis tools hands on lab at WinHEC on the 6th floor • Design Preview Agreement required • Run the tools against sample drivers in the WDK lab

  23. Driver Verifier • Ask the Experts: Device Driver Fundamentals • Tomorrow Noon to 2:00 PM • Daniel Mihai will be available to take your questions • Run driver verifier in the WDK lab this week – 6th floor • Driver Verifier in Windows Vista white paper http://www.microsoft.com/whdc/DevTools/tools/vistaverifier.mspx.

  24. Driver Test Manager • Attend WinHEC session “Using the WDK for Windows Logo Signature Testing” tomorrow at 8:30 in room 6C • Run a Logo pass in the WDK lab this week with representatives from the device teams present – 6th floor

  25. Driver Testing Framework • Attend WinHEC sessions • “Using the Windows Device Testing Framework to Simplify Windows Driver Testing” tomorrow at 3:15 in room 6A • “Using the Device Simulation Frameworks for Software Simulation of Hardware” tomorrow at 4:30 in room 6A • Visit the Driver Test Framework and Device Simulation Framework labs at WinHEC on the 6th floor • Run the DTF based tests in the WDK lab

  26. Windows Vista Logo And Winqual • Attend WinHEC session “Succeeding with the Windows Vista Logo Program” tomorrow at 9:45 in room 6C

  27. Signing Tools • More information • Visit the kernel mode driver signing lab at WinHEC on the 6th floor • Attend WinHEC session “Windows Vista and Windows Server Longhorn Security Platform Enhancements” tomorrow in room 6B at 2:00 PM • Sign a driver in the WDK lab while you’re at WinHEC on the 6th floor

  28. Driver Install (DIFx) Tools • Attend WinHEC session “Installing Driver Packages in Windows Vista and Windows Server Longhorn” Thursday at 8:30 in room 6E • Visit the Driver Package Verifier lab at WinHEC on the 6th floor

  29. Additional WinHEC Topics • “Best Practices for Testing Windows Drivers” tomorrow at 2:00 in room 6A • “Debugging Device Installations” Thursday at 9:45 in room 6E • Device teams are in the WDK lab to help you run your Windows hardware Logo tests on the 6th floor • Ask the Experts: Device Driver Fundamentals • Today 6:30 to 9:00 PM • Tomorrow Noon to 2:00 PM • Thursday Noon to 1:00 PM

  30. Getting More Details And Information • Resources for driver development

  31. Header Versioning • Windows Vista Build Environment Refactoring http://download.microsoft.com/download/f/0/5/f05a42ce-575b-4c60-82d6-208d3754b2d6/WDK_BE-Refactoring.ppt • Header Versioning white paper http://www.microsoft.com/whdc/driver/WDK/headers.mspx

  32. Windows Driver Foundation • Windows Driver Foundation Beta http://www.microsoft.com/whdc/driver/wdf/beta.mspx • Previous conference content • Windows Driver Foundation introduction http://download.microsoft.com/download/f/0/5/f05a42ce-575b-4c60-82d6-208d3754b2d6/WDK_BE-Refactoring.ppt • How to port a WDM driver to WDF http://download.microsoft.com/download/f/0/5/f05a42ce-575b-4c60-82d6-208d3754b2d6/WDK_BE-Refactoring.ppt • How to develop a KMDF driver http://download.microsoft.com/download/f/0/5/f05a42ce-575b-4c60-82d6-208d3754b2d6/WDK_BE-Refactoring.ppt

  33. DTM Resources • WDK Docs via DTM Studio • DTM screencasts: 10 minute tutorials on common tasks <<URL to be updated before WinHEC>> • Plans for external trainers to be announced • Support: DTMSupp @ microsoft.com

  34. Signing Tools • White paper titled “Digital Signatures for Kernel Modules on x64-based Systems Running Windows Vista”http://www.microsoft.com/whdc/system/platform/64bit/kmsigning.mspx • 64 bit and kernel mode http://www.microsoft.com/whdc/driver/kernel/64bit_chklist.mspx • Windows Vista Logo requirements http://www.microsoft.com/whdc/winlogo/hwrequirements.mspx

  35. Winqual Integration • Draft Logo program requirements http://www.microsoft.com/whdc/driver/wdf/beta.mspx • Windows Hardware and Driver Central newsletter http://www.microsoft.com/whdc/newsreq.mspx

  36. Driver Install (DIFx) Tools • Driver Install info on the web http://www.microsoft.com/whdc/driver/install/default.mspx • Driver Install Frameworks tools download http://www.microsoft.com/whdc/driver/install/DIFxtls.mspx

  37. Call To Action • Attend WinHEC driver sessions and labs • Get WDK Beta 2 and use it • Run Logo tests for your devices

  38. Community Resources • Windows Hardware & Driver Central (WHDC)www.microsoft.com/whdc/default.mspx • Technical Communitieswww.microsoft.com/communities/products/default.mspx • Non-Microsoft Community Siteswww.microsoft.com/communities/related/default.mspx • Microsoft Public Newsgroupswww.microsoft.com/communities/newsgroups • Technical Chats and Webcastswww.microsoft.com/communities/chats/default.mspxwww.microsoft.com/webcasts • Microsoft Blogswww.microsoft.com/communities/blogs

  39. Additional Resources • Community Siteshttp://www.microsoft.com/communities/default.mspx • List of Newsgroupshttp://communities2.microsoft.com/communities/newsgroups/en-us/default.aspx • Attend a free chat or webcasthttp://www.microsoft.com/communities/chats/default.mspxhttp://www.microsoft.com/seminar/events/webcasts/default.mspx • Locate a local user group(s)http://www.microsoft.com/communities/usergroups/default.mspx • Non-Microsoft Community Siteshttp://www.microsoft.com/communities/related/default.mspx

  40. Additional Resources • Web Resources • Windows Driver and Hardware Central http://www.microsoft.com/whdc/default.mspx • WDK Page http://www.microsoft.com/whdc/driver/wdk/default.mspx • “Introduction to the Windows Driver Foundation: Kernel Mode Driver Foundation” Peter Viscarola (A ‘how to’ book for writing Windows Vista drivers) by OSR Press. September 2005 http://www.osr.com/wdfbook.htm

  41. © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related