Presentation is loading. Please wait.

Presentation is loading. Please wait.

Developing Drivers in Visual Studio

Similar presentations


Presentation on theme: "Developing Drivers in Visual Studio"— Presentation transcript:

1

2 Developing Drivers in Visual Studio
8/2/ :39 PM TOL-235T Developing Drivers in Visual Studio Adam Shapiro Senior Program Manager Microsoft Corporation © 2010 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.

3 Windows and Visual Studio are collaborating to create a world-class environment for driver development.

4 Agenda Why modern driver development?
Getting started/migrating to Visual Studio Focus on driver quality Simplifying common driver development tasks You’ll leave with An understanding of Microsoft investments for driver development and how to use them to create great drivers more quickly

5 Primary goals for Windows 8
Make developers more productive Integrate driver tools into the modern Visual Studio environment Find defects early Move quality “upstream” in the development process Integrate quality tools and tests into Visual Studio Ease creation of more reliable, better-performing drivers Enhance driver development frameworks Simplify common driver development tasks

6 Driver development in Visual Studio “11”
Visual Studio “11” is the recommended development environment for building Windows 8 drivers Driver-specific functionality is delivered via a Windows Driver Kit (WDK) add-on pack to Visual Studio Copies of Visual Studio “11” Ultimate and the WDK are on the USB stick you received with your conference materials

7 Driver development in Visual Studio “11”
Component layout WDK (Visual Studio add-on) Driver analysis tools Driver testing and deployment tools Online VS driver toolbar (build, package, sign) Kernel debugger (engine and UI) Redistributables (Developer portal) VS driver templates Kernel-mode headers/libs Samples (Code gallery) Documents (MSDN) Visual Studio “11” Ultimate Windows SDK Visual Studio Core

8 Getting started Get going quickly Write less code
New Visual Studio templates provided for networking, storage, printing, WDF (KMDF and UMDF) and WDM drivers New tool automates migration of existing Windows 7 driver projects Write less code The Windows Driver Framework (WDF) has new support for power management, kernel-mode DMA and user-mode hardware access

9 Create, build, package, and sign a driver in Visual Studio
8/2/ :39 PM demo Create, build, package, and sign a driver in Visual Studio © 2010 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.

10 Driving quality “upstream” Tools
Compiler enhancements ease driver development C++ is a “first class citizen” for creating drivers New “/kernel” switch catches illegal driver code at compile time Integrated analysis tools find bugs early Static Driver Verifier (SDV) Code Analysis (was PREfast/PFD)

11 demo Early bug detection 8/2/2018 11:39 PM
© 2010 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.

12 Simplifying common tasks Scenario focus
“Easily run tests” automates build-debug cycle for developers Automated driver build, packaging, signing and deployment Test library pre-loaded with “Device Fundamentals” tests Remote machine provisioning and integrated kernel debugging “Easily write tests” simplifies creation of new driver tests Create new driver tests with Visual Studio templates

13 Remote driver deployment, testing and debugging
8/2/ :39 PM demo Remote driver deployment, testing and debugging © 2010 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.

14 Next steps Timing Visual Studio in “build labs”
Get started now with driver development using Visual Studio! Visual Studio “Go Live” licensing takes effect at beta Visual Studio in “build labs” Version-control tool scenarios will be documented at beta Operating system targeting Windows 8, Windows 7, Windows Vista, and Windows Server 2008 (SP2 and R2) are supported

15 Recap Find defects early
Learn more at Session #239, “Moving driver quality upstream with WDK Driver Verification and Test Tools”

16 Windows and Visual Studio are collaborating to create a world-class environment for driver development.

17 Visual Studio licensing
Visual Studio is licensed per-user, not per-installation MSDN licensees receive all versions of Visual Studio shipped while their subscription is active More information for enterprises here Start-ups and smaller businesses may be eligible for BizSpark or the Microsoft Partner Network (MPN) Academic institutions (including students) can take advantage of DreamSpark

18 Related WES sessions [HW-322T] Designing great devices and drivers
[HW-328T] Using the Windows Driver Framework to build better drivers [HW-239T] Moving driver quality upstream with WDK driver and verification test tools [HW-98P] Windows 8 kernel debugging: New protocols and certification requirements [HW-907C] Inside the Windows 8 driver developer workflow

19 Further reading and documentation
Event Site: Resources: Developing, Testing, and Deploying Drivers Debugging Using Visual Studio Windows Hardware Dev Center Windows Dev Center Contact:

20 Thank You! For questions, please visit me in the
Speakers Connection area following this session.

21 8/2/ :39 PM © 2011 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. © 2011 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.


Download ppt "Developing Drivers in Visual Studio"

Similar presentations


Ads by Google