🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: get ip behind dchp

#6161
From: Alan Bellingham
Date: Mon, 06 Jun 2005 23:24
18 lines
1673 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:

>to the card or not.  He can use GetAdpatersInfo() for that:
                                 GetAdaptersInfo()
>
>    GetAdaptersInfo()
>    http://msdn.microsoft.com/library/en-us/iphlp/iphlp/getadaptersinfo.asp
>
>The IP_ADAPTER_INFO structure has DhcpEnabled and DhcpServer members
>available.

That looks to me to be the answer to his question.

Alan Bellingham
-- 
Me <url:mailto:alanb@episys.com> <url:http://www.doughnut.demon.co.uk/>
ACCU - C, C++ and Java programming               <url:http://accu.org/>
The 2004 Discworld Convention                   <url:http://dwcon.org/>
Technical Details
Message-ID: <olm9a1517c47fe6n2op641qpam22lie0r5@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42a42712@newsgroups.borland.com> <42a444c7$1@newsgroups.borland.com> <42a4837a$1@newsgroups.borland.com> <v859a1d4nhkdube160utpa5lhhu4ism5vc@4ax.com> <42a49f31$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9c6ff63c205cc16d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: get ip behind dchp
Date: Tue, 07 Jun 2005 00:24:30 +0100
Reply-To: alanb@episys.com
Message-ID: <olm9a1517c47fe6n2op641qpam22lie0r5@4ax.com>
References: <42a42712@newsgroups.borland.com> <42a444c7$1@newsgroups.borland.com> <42a4837a$1@newsgroups.borland.com> <v859a1d4nhkdube160utpa5lhhu4ism5vc@4ax.com> <42a49f31$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.49.31.105
X-Trace: newsgroups.borland.com 1118100268 62.49.31.105 (6 Jun 2005 16:24:28 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail