Article View: borland.public.cppbuilder.nativeapi
Article #11506getadaptersinfo....
From: derek
Date: Fri, 06 Feb 2004 11:10
Date: Fri, 06 Feb 2004 11:10
15 lines
1085 bytes
1085 bytes
all,
Does any one know why the call to GetAdaptersInfo returns:
ERROR_BUFFER_OVERFLOW on my Win2k machine...but
ERROR_INVALID_PARAMETER on an XP machine?
I'm using CB5 pro on both machines.
ULONG ulAdapterSize=0;
if(GetAdaptersInfo(NULL, &ulAdapterSize) == ERROR_BUFFER_OVERFLOW)
{
<--SNIP-->
Technical Details
Message-ID:
<40237638$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,ce3424bce4f1c00e,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-06 03:39:35 PST From: "derek" <derek@home.com> Sender: "derek" <derek@home.com> Reply-To: "derek" <derek@home.com> Subject: getadaptersinfo.... Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 47.211.0.12 NNTP-Posting-Host: 207.105.83.66 Message-ID: <40237638$1@newsgroups.borland.com> Date: 6 Feb 2004 03:10:48 -0800 X-Trace: newsgroups.borland.com 1076065848 207.105.83.66 (6 Feb 2004 03:10:48 -0800) Lines: 15 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail