Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

How to build drivers for Windows 8 using WDK for Windows 10?

Fernando_RobertoFernando_Roberto Member - All Emails Posts: 190
edited February 12 in NTDEV

Hi, everybody!

As far as I could understand, WDK 10 can build drivers for Win7, Win8, Win8.1 and Win10. However, after installing WDK 1809, the only target platform I see from my Visual Studio 2017 is "Windows 10" and I cannot change it. Also, the only Platform Toolset I see is "WindowsKernelModeDriver10.0" and there is no option for earlier versions of Windows on that drop box.

How can I build drivers for Windows 8 using WDK 10? I mean, having NTDDI_VERSION=NTDDI_WIN8 and so on.

Thanks in advance.


Fernando Roberto da Silva
DriverEntry Kernel Development
http://www.driverentry.com.br

Comments

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,345

    In your project properties, change the Target OS Version under Driver Settings... not under "Configuration Properties"

    Note that under Driver Settings you can also manually manipulate the _NT_TARGET_VERSION if you want/need. But setting Target OS Version should take care of that for you.

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

  • Fernando_RobertoFernando_Roberto Member - All Emails Posts: 190

    Many thanks!


    Fernando Roberto da Silva
    DriverEntry Kernel Development
    http://www.driverentry.com.br

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Developing Minifilters 29 July 2019 OSR Seminar Space
Writing WDF Drivers 23 Sept 2019 OSR Seminar Space
Kernel Debugging 21 Oct 2019 OSR Seminar Space
Internals & Software Drivers 18 Nov 2019 Dulles, VA