https://bugs.winehq.org/show_bug.cgi?id=40178
Bug ID: 40178 Summary: Native dll packet.dll fail on PacketGetAdapterNames Product: Wine Version: 1.9.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: zhangjianqiu13@gmail.com Distribution: ---
Created attachment 53683 --> https://bugs.winehq.org/attachment.cgi?id=53683 Source code for my testcase
When try to use native packet.dll to run a demo program that calls PacketGetAdapterNames and then return the result in a string , it fails on windows native packet.dll
Test program source code and binary file will be produced in attachment
I see from relay log that PacketGetAdapterNames calls a series of Reg* functions
and a lot of entries cannot be found on wine reg , So I import the "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class{4d36e972-e325-11ce-bfc1-08002be10318}" Key Entry from Windows XP, then the function still fails
The key export file will be attached below
The two versions wine relay log (+relay,+ntdll,+tid), one not import the missing register entry, one imported, will be attached below