none
how to create a Windows NT driver(runs on all NT platforms)? RRS feed

  • Question

  • Hi All,

    I have a simple WDM driver I like to build it as NT driver that will run on all NT platforms,

    the driver project have configuration(created automatically) that contains Win7(Release/Debug),Win8(Release/Debug) and Win8.1(Release/Debug).

    my project doesn't need this kind of configuration because it's compatible with all windows NT platforms(XP/Win7/Vista/Win8/..).

    now, I like to delete this configuration and create a new configuration that will build a one only release that will be compatible with XP,Vista,Win7 ..

    so how to configure preprocessor defines for this?

    thank's a lot for helping

    Tuesday, October 8, 2013 9:41 PM

Answers

  • The win8 only supports targeting Vista and later, the 8.1 WDK Win7 and later.  If you want to target XP in a supported manner, use the Win7 WDK. In theory you can create an XP compatible driver using the Win8 or 8.1 kits, but this is not supported and you are on your own in terms of support and figuring out how to make this work.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, October 8, 2013 10:09 PM
  • Get the Windows 7 WDK and build the driver for XP, if it is clean it should work on all the systems.  This would have worked with KMDF as well, so you could have used the better platform.


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

    • Marked as answer by Yuri.B Wednesday, October 9, 2013 5:05 PM
    Tuesday, October 8, 2013 10:10 PM

All replies

  • The win8 only supports targeting Vista and later, the 8.1 WDK Win7 and later.  If you want to target XP in a supported manner, use the Win7 WDK. In theory you can create an XP compatible driver using the Win8 or 8.1 kits, but this is not supported and you are on your own in terms of support and figuring out how to make this work.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, October 8, 2013 10:09 PM
  • Get the Windows 7 WDK and build the driver for XP, if it is clean it should work on all the systems.  This would have worked with KMDF as well, so you could have used the better platform.


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

    • Marked as answer by Yuri.B Wednesday, October 9, 2013 5:05 PM
    Tuesday, October 8, 2013 10:10 PM