diff --git a/dlls/iphlpapi/ifenum.c b/dlls/iphlpapi/ifenum.c index 63a66aff17b..e794d09ac22 100644 --- a/dlls/iphlpapi/ifenum.c +++ b/dlls/iphlpapi/ifenum.c @@ -34,7 +34,7 @@ * FIXME: * - I don't support IPv6 addresses here, since SIOCGIFCONF can't return them * - * There are three implemened methods for determining the MAC address of an + * There are three implemented methods for determining the MAC address of an * interface: * - a specific IOCTL (Linux) * - looking in the ARP cache (at least Solaris) diff --git a/dlls/iphlpapi/ifenum.h b/dlls/iphlpapi/ifenum.h index c33eaf7a973..17d6b5e4a5c 100644 --- a/dlls/iphlpapi/ifenum.h +++ b/dlls/iphlpapi/ifenum.h @@ -15,11 +15,9 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * This module implements functions shared by DLLs that need to enumerate - * network interfaces and addresses. It's meant to hide some problematic - * defines like socket(), as well as provide only one file - * that needs to be ported to implement these functions on different platforms, - * since the Windows API provides multiple ways to get at this info. + * This module implements network interface and address enumeration. It's + * meant to hide some problematic defines like socket(), and make iphlpapi + * more portable. * * Like Windows, it uses a numeric index to identify an interface uniquely. * As implemented, an interface represents a UNIX network interface, virtual diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index 8bc5fdb3c90..1f09c2c4c5a 100644 --- a/dlls/iphlpapi/iphlpapi_main.c +++ b/dlls/iphlpapi/iphlpapi_main.c @@ -87,7 +87,6 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) DWORD WINAPI AddIPAddress(IPAddr Address, IPMask IpMask, DWORD IfIndex, PULONG NTEContext, PULONG NTEInstance) { FIXME(":stub\n"); - /* marking Win2K+ functions not supported */ return ERROR_NOT_SUPPORTED; } @@ -399,7 +398,6 @@ DWORD WINAPI CreateProxyArpEntry(DWORD dwAddress, DWORD dwMask, DWORD dwIfIndex) { FIXME("(dwAddress 0x%08lx, dwMask 0x%08lx, dwIfIndex 0x%08lx): stub\n", dwAddress, dwMask, dwIfIndex); - /* marking Win2K+ functions not supported */ return ERROR_NOT_SUPPORTED; } @@ -422,7 +420,6 @@ DWORD WINAPI CreateProxyArpEntry(DWORD dwAddress, DWORD dwMask, DWORD dwIfIndex) DWORD WINAPI DeleteIPAddress(ULONG NTEContext) { FIXME("(NTEContext %ld): stub\n", NTEContext); - /* marking Win2K+ functions not supported */ return ERROR_NOT_SUPPORTED; } @@ -494,7 +491,6 @@ DWORD WINAPI DeleteProxyArpEntry(DWORD dwAddress, DWORD dwMask, DWORD dwIfIndex) { FIXME("(dwAddress 0x%08lx, dwMask 0x%08lx, dwIfIndex 0x%08lx): stub\n", dwAddress, dwMask, dwIfIndex); - /* marking Win2K+ functions not supported */ return ERROR_NOT_SUPPORTED; } @@ -520,7 +516,7 @@ DWORD WINAPI EnableRouter(HANDLE * pHandle, OVERLAPPED * pOverlapped) FIXME("(pHandle %p, pOverlapped %p): stub\n", pHandle, pOverlapped); /* could echo "1" > /proc/net/sys/net/ipv4/ip_forward, not sure I want to could map EACCESS to ERROR_ACCESS_DENIED, I suppose - marking Win2K+ functions not supported */ + */ return ERROR_NOT_SUPPORTED; } @@ -543,8 +539,7 @@ DWORD WINAPI EnableRouter(HANDLE * pHandle, OVERLAPPED * pOverlapped) DWORD WINAPI FlushIpNetTable(DWORD dwIfIndex) { FIXME("(dwIfIndex 0x%08lx): stub\n", dwIfIndex); - /* this flushes the arp cache of the given index - marking Win2K+ functions not supported */ + /* this flushes the arp cache of the given index */ return ERROR_NOT_SUPPORTED; } @@ -568,7 +563,6 @@ DWORD WINAPI FlushIpNetTable(DWORD dwIfIndex) DWORD WINAPI GetAdapterIndex(LPWSTR AdapterName, PULONG IfIndex) { FIXME("(AdapterName %p, IfIndex %p): stub\n", AdapterName, IfIndex); - /* marking Win2K+ functions not supported */ return ERROR_NOT_SUPPORTED; } @@ -945,7 +939,7 @@ DWORD WINAPI GetIfTable(PMIB_IFTABLE pIfTable, PULONG pdwSize, BOOL bOrder) * Get a list of network interface adapters. * * PARAMS - * pIfTable [Out] buffer for intertace adapters + * pIfTable [Out] buffer for interface adapters * dwOutBufLen [Out] if buffer is too small, returns required size * * RETURNS @@ -1454,7 +1448,6 @@ DWORD WINAPI GetPerAdapterInfo(ULONG IfIndex, PIP_PER_ADAPTER_INFO pPerAdapterIn { TRACE("(IfIndex %ld, pPerAdapterInfo %p, pOutBufLen %p)\n", IfIndex, pPerAdapterInfo, pOutBufLen); - /* marking Win2K+ functions not supported */ return ERROR_NOT_SUPPORTED; } @@ -1806,7 +1799,6 @@ DWORD WINAPI IpRenewAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo) DWORD WINAPI NotifyAddrChange(PHANDLE Handle, LPOVERLAPPED overlapped) { FIXME("(Handle %p, overlapped %p): stub\n", Handle, overlapped); - /* marking Win2K+ functions not supported */ return ERROR_NOT_SUPPORTED; } @@ -1830,7 +1822,6 @@ DWORD WINAPI NotifyAddrChange(PHANDLE Handle, LPOVERLAPPED overlapped) DWORD WINAPI NotifyRouteChange(PHANDLE Handle, LPOVERLAPPED overlapped) { FIXME("(Handle %p, overlapped %p): stub\n", Handle, overlapped); - /* marking Win2K+ functions not supported */ return ERROR_NOT_SUPPORTED; } @@ -1857,7 +1848,6 @@ DWORD WINAPI SendARP(IPAddr DestIP, IPAddr SrcIP, PULONG pMacAddr, PULONG PhyAdd { FIXME("(DestIP 0x%08lx, SrcIP 0x%08lx, pMacAddr %p, PhyAddrLen %p): stub\n", DestIP, SrcIP, pMacAddr, PhyAddrLen); - /* marking Win2K+ functions not supported */ return ERROR_NOT_SUPPORTED; } @@ -2027,6 +2017,6 @@ DWORD WINAPI UnenableRouter(OVERLAPPED * pOverlapped, LPDWORD lpdwEnableCount) lpdwEnableCount); /* could echo "0" > /proc/net/sys/net/ipv4/ip_forward, not sure I want to could map EACCESS to ERROR_ACCESS_DENIED, I suppose - marking Win2K+ functions not supported */ + */ return ERROR_NOT_SUPPORTED; }