Huw Davies : iphlpapi: Rewrite GetAdaptersAddresses() to first alloc and then copy the info.

Alexandre Julliard julliard at winehq.org
Mon Aug 9 16:21:42 CDT 2021


Module: wine
Branch: master
Commit: 3bace8862f1b49e40574d1c9647e6984f10d026f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3bace8862f1b49e40574d1c9647e6984f10d026f

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Aug  9 10:06:26 2021 +0100

iphlpapi: Rewrite GetAdaptersAddresses() to first alloc and then copy the info.

This refractoring is necessary to simplify implementing it on top of nsi.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/iphlpapi/iphlpapi_main.c | 502 +++++++++++++++++++++++++-----------------
 1 file changed, 300 insertions(+), 202 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=3bace8862f1b49e40574d1c9647e6984f10d026f



More information about the wine-cvs mailing list