Build XP driver from Visual Studio 2013 / WDK 8.1

Hi all,

Is there a way to build a WDM driver targetting Windows XP (x86) using the Visual Studio 2013 / WDK 8.1 toolset?

Thanks in advance.

Eugenio Barahona

Get the Windows 7 WDK it is still available, that is the last WDK to have
official support for building Windows XP drivers.

Don Burn
Windows Driver Consulting
Website: http://www.windrvr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Monday, January 18, 2016 6:01 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Build XP driver from Visual Studio 2013 / WDK 8.1

Hi all,

Is there a way to build a WDM driver targetting Windows XP (x86) using the
Visual Studio 2013 / WDK 8.1 toolset?

Thanks in advance.

Eugenio Barahona


NTDEV is sponsored by OSR

Visit the list online at:
http:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software
drivers!
Details at http:

To unsubscribe, visit the List Server section of OSR Online at
http:</http:></http:></http:>

I think Win7 WDK (not VS-integrated yet, based on SOURCES, with the long numerical version number with 3 dots, starting with 7) is the last WDK supporting XP as a target.


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
> Hi all,
>
> Is there a way to build a WDM driver targetting Windows XP (x86) using the Visual Studio 2013 / WDK 8.1 toolset?
>
> Thanks in advance.
>
> Eugenio Barahona
>
>

Hello,

well, it is possible to use the WDK 8.1 toolset to build a driver that
runs on Windows XP. However, there isno target for that (AFAIK), so you
must be careful not to use any functionality introduced in later
versions of Windows.

You probably need to do some changes in project settings (such as
disabling security checks) to make the driver run on XP. Just build the
driver and compare its imports with routines exported on XP. Using the
Filesystem Minifilter project template proved to be a good option for me.

Best regards
Martin Dráb

Dne 18. 1. 2016 v 12:01 xxxxx@gmail.com napsal(a):

Hi all,

Is there a way to build a WDM driver targetting Windows XP (x86) using the Visual Studio 2013 / WDK 8.1 toolset?

Thanks in advance.

Eugenio Barahona


NTDEV is sponsored by OSR

Visit the list online at: http:
>
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
> Details at http:
>
> To unsubscribe, visit the List Server section of OSR Online at http:
></http:></http:></http:>

On Mon, 18 Jan 2016, Maxim S. Shatskih wrote:

I think Win7 WDK (not VS-integrated yet, based on SOURCES, with the long numerical version number with 3 dots, starting with 7) is the last WDK supporting XP as a target.

Yes, it is called v7.1.0 and is still available as:
wget
http://download.microsoft.com/download/4/a/2/4a25c7d5-efbe-4182-b6a9-ae6850409a78/grmwdk_en_7600_1.iso

when we documenting this anyway they still provide the last DDK that
supports Windows 2000:
wget
http://download.microsoft.com/download/9/0/f/90f019ac-8243-48d3-91cf-81fc4093ecfd/1830_usa_ddk.iso

Bo Branten

Martin Dráb wrote:

well, it is possible to use the WDK 8.1 toolset to build a driver that
runs on Windows XP. However, there isno target for that (AFAIK), so you
must be careful not to use any functionality introduced in later
versions of Windows.

You probably need to do some changes in project settings (such as
disabling security checks) to make the driver run on XP.

I’m not sure what you mean by “security checks” in a project file. All
I did was add the following section to my vcxproj. This marks the
Windows 7 build product as being suitable for XP.




6.1

%(AdditionalOptions)/osversion:6.1

That doesn’t prevent me from using Vista or Win 7 APIs, of course. I
still have to engage the brain to make that happen.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

> when we documenting this anyway they still provide the last DDK that

supports Windows 2000:

6001.18002 is the one.


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com