NDIS IMs in NT4 and w2k

Can I use the same source for NDIS IM driver for both OSes?
Or must I have large OS-dependent parts in the code?

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

There are a fair number of differences between the two OSes.

A big one is that NdisIMRegisterDevice does not exist on NT. If you have a
DeviceIoControl API, then on NT you must use
IoCreateDevice/IoCreateSymbolicLink. You must also copy the original
MajorFunction table before setting your own handlers because NDIS has
already set them. Later, make explicit checks to see if function calls are
to your device; if not, call the original NDIS function table.

There are also other functions that are not supported on NT. For example, no
PnP on NT. You can use preprocessor variables to build from common source
but there are lots…

Installation is terrible, as usual…

Regards,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client
http: - http:

----- Original Message -----
From: “Maxim S. Shatskih”
To: “NT Developers Interest List”
Sent: Tuesday, August 07, 2001 4:09 PM
Subject: [ntdev] NDIS IMs in NT4 and w2k

> Can I use the same source for NDIS IM driver for both OSes?
> Or must I have large OS-dependent parts in the code?
>
> Max
>


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:></http:>