PDA

View Full Version : Small Ndis miniport driver sample


Cthulhu
03-06-2008, 01:12 PM
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
03-06-2008, 04:25 PM
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/index.php

Cthulhu
03-07-2008, 06:05 AM
Thanks Kayaker!
I didn't know this one. I'll check it out.

aionescu
03-16-2008, 05:10 PM
There's some samples in the WDK as well.

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

My best regards.