Compile error with source code 4.21 and 4.22.1-release

That solution seems to working but it seems the generated project is missing some definitions or Windows SDK (10.0.18362.0) doesn’t set a default NDIS###_MINIPORT version to use.

Here are some posts related to the issue:

https://stackoverflow.com/questions/34331918/how-to-port-ndis-6-2-to-ndis-6-3-using-ndis-support-ndis630

^ On the link above for the accepted answer please notice that one of the responses states simply adding the proper definition on the project:

    NDIS620_MINIPORT=1

https://docs.microsoft.com/en-us/windows-hardware/drivers/network/compiling-an-ndis-6-30-driver

Or remove all installed Windows SDK versions and only install 10.0.17763.0