I’m trying to create a minifilter and now I want to create an INF to install it. For that I base mine on the Minispy’s one. But when I run InfVerif on it, it fail to pass (note that I replace instances of $ARCH$ with arm64):
> `C:\Program Files (x86)\Windows Kits\10\Tools\10.0.26100.0\x64\infverif.exe` /w minispy.inf
ERROR(1323) in c:\dev\minispy.inf, line 77, target OS NTarm64: Service registry key 'Flags' must be under the Parameters subkey.
ERROR(1323) in c:\dev\minispy.inf, line 77, target OS NTarm64: Service registry key 'DefaultInstance' must be under the Parameters subkey.
ERROR(1323) in c:\dev\minispy.inf, line 77, target OS NTarm64: Service registry key 'SupportedFeatures' must be under the Parameters subkey.
ERROR(1323) in c:\dev\minispy.inf, line 77, target OS NTarm64: Service registry key 'Altitude' must be under the Parameters subkey.
ERROR(1322) in c:\dev\minispy.inf, line 115, target OS NTarm64: Destination file path 'C:\Windows\System32\drivers' for file 'minispy.sys' is not isolated to DIRID 13.
As I understand after the docs, since Windows 11 version 24H2 the registry values must be under the Parameters subkey. But the INF file uses the old way for version prior 24H2 which makes InfVerif to emit errors.
So my question is how can I make InfVerif to validate my INF?