upcoming changes in the wdk upcoming changes in the windows driver kit griffin cole program manager...

26

Upload: gregory-charles

Post on 18-Dec-2015

223 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation
Page 2: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Upcoming Changes in the WDK

Page 3: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Upcoming Changes in the Windows Driver Kit

Griffin ColeProgram ManagerWDK

Craig ZieglerTest LeadWDK

Ted HudekDocumentation LeadWDK

Page 4: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Agenda – What’s New in the Windows Driver Kit?

• Installation

• Introducing Kit Servicing

• Build Environment

• Samples and Tools

• Quality Improvements

• Documentation

• Q&A

Page 5: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

WDK Installation Using Kitsetup

• Supports servicing

• Single UI for all kit components

• Single EULA for all kit components

• Documentation installation is part of complete kit installation

Page 6: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

KitSetup

Page 7: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Introducing WDK Servicing

• For Windows 7• Individual “Hot Fixes” available on Microsoft Connect, as

needed• Scheduled Service Pack releases – Feedback?

• Beyond Windows 7 (Feedback?)• Combine Windows Software Development Kit with WDK• Kit “in the clouds” – download/install/servicing

Page 8: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

New Device Technologies

• Biometrics• XPS Print• Hypervisor• Sensor /PC3• Windows Vista Display Driver Model (WDDM) updates• Wave Real-Time (WaveRT)• Wireless Wide Area Network (WWAN) updates• Windows Driver Foundation (WDF) 1.9• And more…..

Page 9: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Build Environment Changes

• New Build macros• Target_Destination• Pass2_Binplace

• Microsoft Automatic Code Review (OACR)• Runs by default• Runs PREfast for Drivers (PFD) in the background automatically• Provides a Taskbar monitor

• No support for Windows 2000 Build Environment

Page 10: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

• New Tools• ComputerModelID (Added)• OACR (Added)• IRP Concurrency Coverage (Proposed)• Service Discovery Profile (SDP) Verifier (Proposed)

Samples and Tools in the WDK

Page 11: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

New Samples in the WDK

Sample Technology

WiFi, WLAN WiFi, Neterion 10G NDIS Miniport

Networking

miniSpy, nullFilter, passThrough, scanner, Metadata Manager, ctx, cdo, Encryption, Name Provider, Reparse Points, CancelSafe, swapBuffers

FileSystems

WpdBasicHardwareDriver (UMDF), WpdServiceSampleDriver (UMDF), WpdMultiTransportDriver (UMDF)

WPD

Consumer IR Receiver Sample Driver (smscir) (KMDF)

IR

Page 12: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

WDK Content Quality Efforts

Craig ZieglerWindows Driver Kit Test Lead

Page 13: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

WDK Content Quality Efforts

• QA efforts to improve the overall quality of the samples and tools in the WDK• Add header annotations to many WDK headers• Run PREfast for Drivers (PFD) against sample sources• Run Static Driver Verifier (SDV) against sample sources• Check for /W4 warnings

• Compile with MSC_WARNING_LEVEL=/W4 /WX in sources• Run Application Verifier against UMDF samples and driver tools• Run Driver Verifier against samples• Conduct code reviews of samples• Remove obsolete and poor samples

Page 14: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Static Analysis Tools Run against WDK Samples

• PREfast for Drivers• 99 bug fixes • 2961 PFD defects removed from samples• Header annotations added to reduce false positives

• Static Driver Verifier• 7 bug fixes• Role type annotations added to samples

Page 15: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

W4 Compiler Warnings

• Found by setting MSC_WARNING_LEVEL=/W4 /WX in sources files

• 147 bug fixes• 3572 warnings removed from samples• Typical errors include uninitialized variables, unreferenced

parameters• MS08-014 – Security vulnerability could have been prevented

by /W4 compilation• Many Windows 7 samples will default to /W4 in the sample

sources file

Page 16: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Build Environment Validation Testing

• Internal testing tool developed to validate the WDK build environment

• Extracts API/Struct/Union/Enum information from headers• Validates that headers are versioned properly• Finds discrepancies between headers in WDK and

documentation on MSDN

Page 17: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Resources• Contact the WDK PM Team:

• Jennifer.Stepler

• Griffin.Cole

• More at DDC:

• The Windows Driver Kit Build Environment Chalk Talk, Weds. 2:45-3:45

• Integrating PREfast into Your Build by Using Microsoft Automated Code ReviewChalk Talk, Tues. 4-5

• Ask the Experts – Come visit the WDK table on Tuesday evening

• Follow-up:

• Send FEEDBACK on Servicing Plan, Build Environment, etc.

• Use Microsoft Automated Code Review – tell us what you think

Page 18: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

WDK Documentation

Ted HudekSenior Content Publishing Lead

Page 19: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

WDK Documentation

• Windows 7 docs coming at Beta• Over two thousand new topics• Biometrics, XPS, Hypervisor, WDDM, WaveRT, WWAN, WDF• Complete technical review of all 802 topics in the Kernel-Mode Driver

Architecture Reference • Expanded Requirements block for new DDIs

• OS version• IRQL requirements• Header/lib

• “Roadmaps” with basic steps to create drivers• WDK documentation monthly update on MSDN and WHDC

• 911,930 hits on MSDN in Aug 2008 • 11 M over year (up from 6.5 M in previous year)• Tens of thousands of downloads of WDK docs from WHDC since first

availability in Jul 2007• Increased visibility

• WDK Doc Blog

Page 20: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Feedback Initiatives

• Results based on your feedback in annual surveys:• Side-by-side machine translation pilot for WDK on MSDN• New viewer being built based on your feedback• Requirements block implemented for new topics• Monthly refresh of WDK docs on WHDC• Roadmaps

• 2 in place, target completion by Dec 08• Better quality driver test descriptions in WLK docs• Better quality sample readmes in WDK docs

Page 21: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

How do you like your translation?

Page 22: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Side-by-side translation

English to French on http://translator.live.com

Page 23: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Translation Results and Plans

• Machine Translation Beta participation totaled 502,730 visits• Pilot ran Oct. 1st 2007 through Feb 28th 2008

• Windows Driver Kit 3rd most viewed of 10 in pilot• Majority of our customers non-native English speakers• Used survey data to prioritize target languages for side-by-

side translation• Certain languages candidates for human translation

• Japanese, Chinese, Russian, Korean, Taiwanese, Portuguese, French, Spanish

• Content in some top languages targeted by end of FY09

Page 24: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

2008 WDK Survey

• Survey results for the 2008 WDK doc survey are starting to come in!

• 282 responses as of 9/23/08• Keep it coming, watch the Hardware Newsletter for results

in November• Survey closes Friday, October 3• Take the survey:

http://www.surveymonkey.com/s.aspx?sm=dGvL8r1pH2VDEUXCotYJXw_3d_3d

Page 25: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

WDK Documentation Resources

• Download monthly WDK doc refresh from http://www.microsoft.com/whdc/DevTools/WDK/WDKdocs.mspx

• Read the blog at http://blogs.msdn.com/wdkdocs/default.aspx.

• Send feedback to [email protected]. We really do listen!

• Take the survey before it ends this Friday, 10/3:• http://www.surveymonkey.com/s.aspx?sm=dGvL8r

1pH2VDEUXCotYJXw_3d_3d• New team manager: [email protected]

Page 26: Upcoming Changes in the WDK Upcoming Changes in the Windows Driver Kit Griffin Cole Program Manager WDK Craig Ziegler Test Lead WDK Ted Hudek Documentation

Questions?