From e16cb175e2f77b78b8f8cb5b6cebd7bbc9213afd Mon Sep 17 00:00:00 2001 From: Jeff Zaroyko Date: Tue, 30 Dec 2008 22:39:45 +1100 Subject: iphlpapi: stub GetAdaptersAddresses --- dlls/iphlpapi/iphlpapi.spec | 1 + dlls/iphlpapi/iphlpapi_main.c | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/dlls/iphlpapi/iphlpapi.spec b/dlls/iphlpapi/iphlpapi.spec index 24c4e94..794ece2 100644 --- a/dlls/iphlpapi/iphlpapi.spec +++ b/dlls/iphlpapi/iphlpapi.spec @@ -18,6 +18,7 @@ @ stub FlushIpNetTableFromStack @ stdcall GetAdapterIndex( wstr ptr ) @ stub GetAdapterOrderMap +@ stdcall GetAdaptersAddresses( long long ptr ptr ptr ) @ stdcall GetAdaptersInfo( ptr ptr ) @ stdcall GetBestInterface( long ptr ) @ stdcall GetBestInterfaceEx( ptr ptr ) diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index c7a4a3f..6f33c9f 100644 --- a/dlls/iphlpapi/iphlpapi_main.c +++ b/dlls/iphlpapi/iphlpapi_main.c @@ -648,6 +648,31 @@ DWORD WINAPI GetAdapterIndex(LPWSTR AdapterName, PULONG IfIndex) /****************************************************************** + * GetAdaptersAddresses (IPHLPAPI.@) + * + * Get addresses associated with adapters. + * + * PARAMS + * Family [In] address family of the addresses + * Flags [In] which types of addresses + * Reserved [In] should be null + * AdapterAddresses [In/Out] ptr to a buffer to receive addresses + * SizePointer [In/Out] ptr to a variable with the size of the buffer pointed to + * + * RETURNS + * Success: NO_ERROR + * Failure: error code from winerror.h + * + * FIXME + * Stub, returns ERROR_CALL_NOT_IMPLEMENTED + */ +ULONG WINAPI GetAdaptersAddresses( ULONG Family, ULONG Flags, PVOID Reserved, + PIP_ADAPTER_ADDRESSES AdapterAddresses, PULONG SizePointer) +{ + FIXME("stub\n"); + return ERROR_CALL_NOT_IMPLEMENTED; +} +/****************************************************************** * GetAdaptersInfo (IPHLPAPI.@) * * Get information about adapters. -- 1.5.4.3