Discussion:
Can't find GetIpInterfaceEntry
(too old to reply)
k***@gmail.com
2007-01-24 04:15:12 UTC
Permalink
Hey Everyone,

This is probably a very simple thing, but I want to use the new
GetIpInterfaceEntry function in the IP helper library, but it does not
seem to be there. When I try to compile, I get all kinds of errors:
NETIOAPI_API is an undeclared identifier, as is PMIB_INTERFACE_ROW and,
of course, GetIpInterfaceEntry as well.

The documentation says this function is defined in Netiopapi.h, which
is supposed to be included from iphlpapi.h. However, my iphlpapi.h
doesn't include netiopapi.h, and it's not anywhere I can find it.

I'm using Visual Studio 2005 version 8.0.50727.42 on Windows Vista
Ultimate. I assume I'm using the wrong version of something, but I
don't know what. I've also looked in the Platform SDK for XP SP2 and
the Platform SDK for Windows Server 2003 R2.

Could someone point me in the right direction?

Thanks,
Kevin
Arkady Frenkel
2007-01-24 07:53:22 UTC
Permalink
You do can see GetIpInterfaceEntry() in the Vista's IPHLPAPI.dll, but yet we
have no lib and H for it, they will be in Vista's PSDK not XP/Server :(
Arkady
Post by k***@gmail.com
Hey Everyone,
This is probably a very simple thing, but I want to use the new
GetIpInterfaceEntry function in the IP helper library, but it does not
NETIOAPI_API is an undeclared identifier, as is PMIB_INTERFACE_ROW and,
of course, GetIpInterfaceEntry as well.
The documentation says this function is defined in Netiopapi.h, which
is supposed to be included from iphlpapi.h. However, my iphlpapi.h
doesn't include netiopapi.h, and it's not anywhere I can find it.
I'm using Visual Studio 2005 version 8.0.50727.42 on Windows Vista
Ultimate. I assume I'm using the wrong version of something, but I
don't know what. I've also looked in the Platform SDK for XP SP2 and
the Platform SDK for Windows Server 2003 R2.
Could someone point me in the right direction?
Thanks,
Kevin
Ben Voigt
2007-01-24 14:32:39 UTC
Permalink
Post by Arkady Frenkel
You do can see GetIpInterfaceEntry() in the Vista's IPHLPAPI.dll, but yet
we have no lib and H for it, they will be in Vista's PSDK not XP/Server :(
Arkady
Vista's PSDK is available here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b1e300-f358-4523-b479-f53d234cdccf&DisplayLang=en

It's a bit on the large side, hope you have more than basic broadband.
Post by Arkady Frenkel
Post by k***@gmail.com
Hey Everyone,
This is probably a very simple thing, but I want to use the new
GetIpInterfaceEntry function in the IP helper library, but it does not
NETIOAPI_API is an undeclared identifier, as is PMIB_INTERFACE_ROW and,
of course, GetIpInterfaceEntry as well.
The documentation says this function is defined in Netiopapi.h, which
is supposed to be included from iphlpapi.h. However, my iphlpapi.h
doesn't include netiopapi.h, and it's not anywhere I can find it.
I'm using Visual Studio 2005 version 8.0.50727.42 on Windows Vista
Ultimate. I assume I'm using the wrong version of something, but I
don't know what. I've also looked in the Platform SDK for XP SP2 and
the Platform SDK for Windows Server 2003 R2.
Could someone point me in the right direction?
Thanks,
Kevin
Arkady Frenkel
2007-01-24 16:34:18 UTC
Permalink
That one still haven't what Kevin need :(
Arkady
Post by Ben Voigt
Post by Arkady Frenkel
You do can see GetIpInterfaceEntry() in the Vista's IPHLPAPI.dll, but yet
we have no lib and H for it, they will be in Vista's PSDK not XP/Server :(
Arkady
http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b1e300-f358-4523-b479-f53d234cdccf&DisplayLang=en
It's a bit on the large side, hope you have more than basic broadband.
Post by Arkady Frenkel
Post by k***@gmail.com
Hey Everyone,
This is probably a very simple thing, but I want to use the new
GetIpInterfaceEntry function in the IP helper library, but it does not
NETIOAPI_API is an undeclared identifier, as is PMIB_INTERFACE_ROW and,
of course, GetIpInterfaceEntry as well.
The documentation says this function is defined in Netiopapi.h, which
is supposed to be included from iphlpapi.h. However, my iphlpapi.h
doesn't include netiopapi.h, and it's not anywhere I can find it.
I'm using Visual Studio 2005 version 8.0.50727.42 on Windows Vista
Ultimate. I assume I'm using the wrong version of something, but I
don't know what. I've also looked in the Platform SDK for XP SP2 and
the Platform SDK for Windows Server 2003 R2.
Could someone point me in the right direction?
Thanks,
Kevin
Loading...