Developing Drivers in Visual Studio

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Preface Demo A Quick Thank You How Did We Do It?
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Feature: OLE Notes Migration Utility
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
Yousef Khalidi Distinguished Engineer Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
WDK (Visual Studio add-on) Visual Studio “11” Ultimate Kernel-mode headers/libs Kernel debugger (engine and UI) Windows SDK Visual Studio Core.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

Rade Trimceski Program Manager Microsoft Corporation Mitesh Desai Software Design Engineer Microsoft Corporation.
MIX 09 4/17/2018 4:41 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Building a great Metro style device app for your printer
Manual testing of Windows Metro style apps built using HTML
Возможности Excel 2010, о которых следует знать
11/8/2018 8:19 PM HW-98P Windows 8 kernel debugging: New protocols and certification requirements Tanya Radeva Program Manager Microsoft Corporation Joe.
Testing mobile broadband devices
Title of Presentation 11/22/2018 3:34 PM
Deep dive on app data roaming
Michael Beck Principal Group Program Manager Microsoft Corporation
Title of Presentation 12/2/2018 3:48 PM
Customizing WPA Trace Views
Getting started with Windows Azure
File type associations and AutoPlay
1/3/2019 1:21 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Introduction to the new WPA user interface
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
Best practices for packaging and distributing device drivers
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Delivering great hardware solutions for Windows
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Under the hood: Installation and updates for Metro style apps
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
5/1/2019 3:29 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
The complete developer's guide to the SkyDrive API
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
Using Smart Unit Tests to find bugs earlier in the development cycle
Inside the Windows 8 driver developer workflow
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Title of Presentation 7/24/2019 8:53 PM
Jamie Cool Program Manager Microsoft
Build /24/ What's new for Azure developers in Visual Studio 2013 update 2 and Azure SDK 2.3 Dan Fernandez Principal PM
What’s New in Visual Studio 2012 for Web Developers
Advanced app and driver debugging
Presentation transcript:

Developing Drivers in Visual Studio 8/2/2018 11: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.

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

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

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

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

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

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

Create, build, package, and sign a driver in Visual Studio 8/2/2018 11: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.

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)

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.

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

Remote driver deployment, testing and debugging 8/2/2018 11: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.

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

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

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

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

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

Further reading and documentation Event Site: http://channel9.msdn.com/Events Resources: Developing, Testing, and Deploying Drivers Debugging Using Visual Studio Windows Hardware Dev Center Windows Dev Center Contact: win8wdk@microsoft.com

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

8/2/2018 11: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.