Log in

View Full Version : Small Ndis miniport driver sample


Cthulhu
March 6th, 2008, 14:12
Hi all!
I'm trying to get the static MacAddress that is burnt on the ethernet cards, after some research I found I can only do it using a ndis miniport driver.

After testing Ndiscope from www.pcausa.com I realized that I need to call NdisRequest with the option OID_802_3_PERMANENT_ADDRESS to get the MacAddress.

I've already wrote some simple device drivers but never a ndis one.
Right now I'm reading the source code from NDIS MUX Intermediate Miniport driver sample that comes with Windows 2003 DDK but it seems to do much more stuff than I need.

If anyone has a simpler sample I'd appreciate it very much.
Thanks in advance!

Kayaker
March 6th, 2008, 17:25
Hi Cthulhu,

If you know pcausa maybe you know this one as well, check out their forums there's a lot of NDIS topics there.

http://www.ntkernel.com/

Cthulhu
March 7th, 2008, 07:05
Thanks Kayaker!
I didn't know this one. I'll check it out.

aionescu
March 16th, 2008, 17:10
There's some samples in the WDK as well.

Cthulhu
March 17th, 2008, 06:02
Hi folks! I managed to do it.
Thanks Kayaker and aionescu for helping me out.

My best regards.