Juan Lang : iphlpapi: Set the adapter' s description to its name in GetAdaptersInfo.

Alexandre Julliard julliard at winehq.org
Wed May 21 05:22:43 CDT 2008


Module: wine
Branch: master
Commit: 199cee194f07f823c941f8501899026b6221edb9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=199cee194f07f823c941f8501899026b6221edb9

Author: Juan Lang <juan.lang at gmail.com>
Date:   Tue May 20 12:38:12 2008 -0700

iphlpapi: Set the adapter's description to its name in GetAdaptersInfo.

---

 dlls/iphlpapi/iphlpapi_main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index d01fe28..f624dde 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -738,6 +738,7 @@ DWORD WINAPI GetAdaptersInfo(PIP_ADAPTER_INFO pAdapterInfo, PULONG pOutBufLen)
 
               /* on Win98 this is left empty, but whatever */
               getInterfaceNameByIndex(table->indexes[ndx], ptr->AdapterName);
+              getInterfaceNameByIndex(table->indexes[ndx], ptr->Description);
               ptr->AddressLength = sizeof(ptr->Address);
               getInterfacePhysicalByIndex(table->indexes[ndx],
                &ptr->AddressLength, ptr->Address, &ptr->Type);




More information about the wine-cvs mailing list