Obtaining the NDIS Version
NDIS versions might not be the same as the operating system versions. For example, if you use the RtlGetVersion and RtlVerifyVersionInfo routines to get the operating system version, you do not get a guaranteed association with a particular NDIS version. Therefore, NDIS drivers must get the NDIS version and the operating system version separately. NDIS drivers can get the NDIS version with the NdisGetVersion function.