I want know what's the NDIS version should I adapt according to Windows O/S
version.
Where can I find like the mapping table between windows O/S and Ndis
version?
For example, NDIS5.0<->Win2K and NDIS5.1<->WinXP.
Thank you for your help.
Have a nice day.
//DAUM
What might be better to determine the version of NDIS running on the system
at the time is to call NdisReadConfiguration with the special keyword
"NdisVersion". This way you can let NDIS tell you instead of keeping a
table.
See the documentation for NdisReadConfiguration for more information.
HTH,
Bryan S. Burgin
bbu...@microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights.
Please, give me more information.
I want know the NDIS version relation to Windows version before my Ndis
driver was installed.
Your suggestion was meaningful only after Ndis driver installed.
Is there any other information or documentation about Ndis version relation
to Windows O/S version?
Can Ndis version in Win2K be Ndis5.1?
Thank you.
""Bryan S. Burgin [MSFT]"" <bbu...@online.microsoft.com> wrote in message
news:E3AI5tWT...@cpmsftngxa06.phx.gbl...
Please, give me more information.
I want know the NDIS version relation to Windows version before my Ndis
driver was installed.
Your suggestion was meaningful only after Ndis driver installed I think.
As for OS level versus NDIS level, to the best of my knowledge (as you
seem to realize), Win2K implies NDIS 5.0, and XP and higher, NDIS 5.1
(at least; I suspect that some day we'll see NDIS 6.0 and successors
associated with higher OS levels).
--
If replying by e-mail, please remove "nospam." from the address.
James Antognini
Windows DDK MVP
For instance, NDIS 5.0 specifies scatter/gather lists. These are fully
supported in W2K (and higher). However, W98 SE does not support
scatter/gather lists and thus good old map registers need to be used
instead. So its crucial here to know the OS type.
Actually, it is very easy to determine the Windows type and version:
1. Get the OS type by calling NdisReadConfiguration("Environment") ->
NDIS_ENVIRONMENT_TYPE.
2. Get the supported NDIS version by calling
NdisReadConfiguration("NdisVersion").
3. From the combination of the two, determine the exact OS type and
version according to the table in the DDK docs under "NDIS Versions"
(http://msdn.microsoft.com/library/en-us/network/hh/network/103prog_4qjr.asp).
Stephan
---