iphlpapi: Make GetAdaptersAddresses hotpatchable

André Hentschel nerv at dawncrow.de
Thu Mar 8 08:05:54 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=30001
---
 dlls/iphlpapi/iphlpapi_main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c
index 2a3285f..a569041 100644
--- a/dlls/iphlpapi/iphlpapi_main.c
+++ b/dlls/iphlpapi/iphlpapi_main.c
@@ -1032,8 +1032,8 @@ static ULONG get_dns_suffix(WCHAR *suffix, ULONG *len)
     return ERROR_SUCCESS;
 }
 
-ULONG WINAPI GetAdaptersAddresses(ULONG family, ULONG flags, PVOID reserved,
-                                  PIP_ADAPTER_ADDRESSES aa, PULONG buflen)
+ULONG WINAPI DECLSPEC_HOTPATCH GetAdaptersAddresses(ULONG family, ULONG flags, PVOID reserved,
+                                                    PIP_ADAPTER_ADDRESSES aa, PULONG buflen)
 {
     InterfaceIndexTable *table;
     ULONG i, size, dns_server_size, dns_suffix_size, total_size, ret = ERROR_NO_DATA;
-- 

Best Regards, André Hentschel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120308/cacb7b3e/attachment.ksh>


More information about the wine-patches mailing list