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!
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!