Targeting 2k3 for WDM driverset with Storport

I discovered that I can run my Virtual Storport driver on W2k3 via KB943295, but I can’t figure out how to build the drivers to properly target W2k3…

If I use W2k3 as the target build environment, I can’t build the disk because the linker won’t resolve StorPortExtendedFunction.

If I use W2k8 as the target, everything builds but 2k3 mysteriously refuses to load the bus driver.

If I build the bus under 2k3, and the devices under 2k8, everything then works properly.

Using 6001.18001

I have not tried this myself but you might replace the storport.lib from the
lib\wnet\XXX directory with the one from lib\wlh\XXX directory where XXX is
the machine target (saving things so you can go back). This would give you
a lib with the correct entries, and assuming that the KB article is
basically providing a virtual storport with the same exports everything
should go.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

wrote in message news:xxxxx@ntdev…
>I discovered that I can run my Virtual Storport driver on W2k3 via
>KB943295, but I can’t figure out how to build the drivers to properly
>target W2k3…
>
> If I use W2k3 as the target build environment, I can’t build the disk
> because the linker won’t resolve StorPortExtendedFunction.
>
> If I use W2k8 as the target, everything builds but 2k3 mysteriously
> refuses to load the bus driver.
>
> If I build the bus under 2k3, and the devices under 2k8, everything then
> works properly.
>
> Using 6001.18001
>

Don you really are the greatest.