[PATCH] iphlpapi: Implement if_nametoindex.
Stefan Dösinger
stefan at codeweavers.com
Wed May 24 07:43:22 CDT 2017
> Am 24.05.2017 um 14:36 schrieb Bruno Jesus <00cpxxx at gmail.com>:
>
> On Wed, May 24, 2017 at 9:17 AM, Stefan Dösinger <stefan at codeweavers.com> wrote:
>> I’m not sure what you mean by "ASCII version“. getInterfaceIndexByName also
>> accepts a const char * rather than a WCHAR *.
>
> I meant a "char* version of GetAdapterIndex", which receives a WCHAR*.
Calling GetAdapterIndex seems kinda wasteful as well, we’d have to convert to WCHAR, then GetAdapterIndex converts back to char and calls getInterfaceIndexByName, which calls if_nametoindex, which is where we started.
More information about the wine-devel
mailing list