locked
wdk or wdf RRS feed

  • Question

  • Need to write a driver for XP, Windows Embedded Standard 2009 actually, for reading/writing a port. I see the portio example in WDK, is there any benefit in using WDF or is it simpler to modify portio example and just use WDK tools?

    Is Windows Driver Frameworks and Windows Driver Foundation the same thing?  I have seen some documentation that WDF uses WDK 8, and documentation for WDK8 states it is can not be used to develop XP drivers. Can WDK be used to develop XP drivers?

    Friday, June 29, 2012 8:57 PM

Answers

  • Use WDF it will be easier, and more reliable.  Windows Driver Frameworks and Windows Driver Foundation are the same thing.  The Windows 7 WDK works fine for building XP drivers, and WDF is supported back to Windows 2000.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Friday, June 29, 2012 9:05 PM

All replies

  • Use WDF it will be easier, and more reliable.  Windows Driver Frameworks and Windows Driver Foundation are the same thing.  The Windows 7 WDK works fine for building XP drivers, and WDF is supported back to Windows 2000.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Friday, June 29, 2012 9:05 PM
  • Thanks. I'm confused about getting the tools. I have downloaded WDK, but WDF is unclear, the site I found references the download  as "Preview version" and "co-installers" - the link is below as well. Is this the correct, latest download for WDF?

    http://msdn.microsoft.com/en-US/windows/hardware/br259104

    About This Download

    This redistributable package contains the Windows Driver Frameworks (WDF) Release Preview version 1.11 co-installers for both User-Mode Driver Framework (UMDF) and Kernel-Mode Driver Framework (KMDF); update packages of the 1.11 bits with the .msu file extension if you want to build your own stand-alone installer; and earlier versions of the co-installers in case you need to use them in your packages.

    In the Windows Driver Kit (WDK) 8, we’ve separated distribution of the Windows Driver Frameworks (WDF) co-installers from the kit. You need to download the WDK co-installers separately from the WDK. Additional redistributable content can be found in the WDK

    Tuesday, July 3, 2012 7:42 PM
  • The tools are in the WDK.  The link you gave is for the Win8 Beta framework redistributables.  I'd probably use the portio sample as a start it is written in WDF.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    • Proposed as answer by Marian Ionita Thursday, November 1, 2012 9:51 AM
    Tuesday, July 3, 2012 7:48 PM
  • Thanks again. So the WDF tools being embedded as part of the WDK is not clear. I'm looking at the installed files (in WinDDK) and there is a folder for WDF but nothing that looks like a toolset or help files.

    Yes I have been looking at the portio example - but not clear when you say "written in WDF".  From some other online documentation I had assumed WDF to be a toolset/environment that provides some of the low level, common driver functionality - without having to write it explicitly. Perhaps what I'm missing the most at this point is user documentation and having problems finding that in the installed WDK. Can you point me the way - whether that documentation is part of the WDK or to be found elsewhere?

    Tuesday, July 3, 2012 9:09 PM
  • WDF is a an API / environment for developing drivers.  The documentation is part of the WDK look at http://msdn.microsoft.com/en-US/library/windows/hardware/ff544396(v=vs.85).aspx for the KMDF portion.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Tuesday, July 3, 2012 9:29 PM