k***@gmail.com
2007-01-24 04:15:12 UTC
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
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