πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5437

Re: MAC address of network adapter

#5437
From: Berlani
Date: Mon, 15 Aug 2005 07:44
42 lines
2155 bytes
Hello,

Thanks for your answer.
I already write a program which use the function GetAdaptersInfo()  and I
used it on many computers. But on one new computer type which use Windows XP
too, this
function give me a wrong MAC address . Then I look on microsoft site at the
following address :


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/getadaptersinfo.asp

and on the top of page there is:

Windows Server 2003 and Windows XP:  Use the GetAdaptersAddresses function
instead of GetAdaptersInfo.

I am interested to try this function but unfortunatly I do not find some
declaration like PIP_ADAPTER_ADDRESSES and so on. Is anybody know where we
can find this kind of files descriptions ?

Thanks

JC.Berlani

 My operating system is Windows XP
"Stefano Frosio" <stefanofrosioNIENTESPAM@GRAZIEhotmail.com> a οΏ½crit dans le
message de news:42ff6b2e@newsgroups.borland.com...
> > Is anybody could tell me how to find the Unique MAC
> Adresse of the installed
> > Network boards.
>
> Here you go:
>
> http://community.borland.com/article/0,1410,26040,00.html
>
> ==========================
> Stefano Frosio
> http://www.esse-effe.com
> ==========================
>
>
Technical Details
Message-ID: <430047fb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!cyclone.bc.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42ff3a2c$1@newsgroups.borland.com> <42ff6b2e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d63a53bd7cd0d405
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Berlani" <jc.berlani@vacotec.ch>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42ff3a2c$1@newsgroups.borland.com> <42ff6b2e@newsgroups.borland.com>
Subject: Re: MAC address of network adapter
Date: Mon, 15 Aug 2005 09:44:06 +0200
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
NNTP-Posting-Host: 212.147.29.75
Message-ID: <430047fb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124091899 212.147.29.75 (15 Aug 2005 00:44:59 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!cyclone.bc.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail