N
Nate.Wang
Guest
Hi all,
I have a PCIe driver which was developed under WDK 7.1.0.7600 and Visual Studio 2008.
The driver works perfectly on Windows 7, and I would like to use this driver under Windows 10.
However, in Windows 10, a hardware driver without WHQL qualification test is not allowed to be executed, and in order to pass the WHQL test, NonPagedPool pool type memory declaration is mandatory to be replaced by NonPagedPoolNx (NX and Execute Pool Types - Windows drivers), while NonPagedPoolNx is only supported in newer version of WDK, so it seems upgrade WDK version from 7 to 10 is the only choice for me(?).
I have already opened/converted the VS2008 project to VS2017, compiled and executed the driver without any problem.
Though in VS2017 the build environment is the same as in VS2008, ie, still use NMAKE/ddkbuild and links to WDK 7, below is the property setting for reference

I had tried to add the include path for WDK 10(C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\km) under "VC++ directories" and "NMAKE", but these setting takes no effect due to the project is build under ddkbuild and those path setting resides in ddkbuild.cmd file(I am not familiar with ddkbuild so not pretty sure about this).
So, in this case, is there any simple way to migrate WDK 7 to WDK 10 ? The only purpose is to use NonPagedPoolNx pool type memory to pass the WHQL test, any suggestion would be very appreciated, thanks in advance.
Continue reading...
I have a PCIe driver which was developed under WDK 7.1.0.7600 and Visual Studio 2008.
The driver works perfectly on Windows 7, and I would like to use this driver under Windows 10.
However, in Windows 10, a hardware driver without WHQL qualification test is not allowed to be executed, and in order to pass the WHQL test, NonPagedPool pool type memory declaration is mandatory to be replaced by NonPagedPoolNx (NX and Execute Pool Types - Windows drivers), while NonPagedPoolNx is only supported in newer version of WDK, so it seems upgrade WDK version from 7 to 10 is the only choice for me(?).
I have already opened/converted the VS2008 project to VS2017, compiled and executed the driver without any problem.
Though in VS2017 the build environment is the same as in VS2008, ie, still use NMAKE/ddkbuild and links to WDK 7, below is the property setting for reference

I had tried to add the include path for WDK 10(C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\km) under "VC++ directories" and "NMAKE", but these setting takes no effect due to the project is build under ddkbuild and those path setting resides in ddkbuild.cmd file(I am not familiar with ddkbuild so not pretty sure about this).
So, in this case, is there any simple way to migrate WDK 7 to WDK 10 ? The only purpose is to use NonPagedPoolNx pool type memory to pass the WHQL test, any suggestion would be very appreciated, thanks in advance.
Continue reading...