We have a project that supports os over xp using vs 2005 and wdk 7600.
It worked normally on Windows 10 version (1709).
However, if memory integrity is turned on in Windows 10 device guard protection, some drivers fail to load.
Only drivers that add / INTEGRITYCHECK to the link option to use the PsSetCreateProcessNotifyRoutineEx API will fail to load.
When running the StartSevice API for loading, an error occurs with Error Code 87 (The parameter is incorrect).
So to solve the problem, I want to rebuild with vs2017 and wdk 10 according to driver compatibility with Device Guard in windows 10.
Without modifying the entire code, POOL_NX_OPTIN = 1 and ExInitializeDriverRuntime (DrvRtPoolNxOptIn) as described in the link below; And then loaded after the build
It failed with the same error code 87.
This driver is not loaded and can not be verified.
So there is no problem testing verifier (memory integrity) after building another driver with the above options.
So I do not think the build is wrong.
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|