http://bugs.winehq.org/show_bug.cgi?id=29231
--- Comment #5 from Dan Kegel dank@kegel.com 2013-07-06 20:54:35 CDT --- Created attachment 45129 --> http://bugs.winehq.org/attachment.cgi?id=45129 Example with source code
Here's the source from http://www.winsocketdotnetworkprogramming.com/winsock2programming/winsock2ad... plus the output of 'cl nla.cc ws2_32.lib'.
Running it on a windows 7 laptop in a cmd.exe window outputs:
WSAStartup() should be OK! WSALookupServiceBegin() should be OK! WSACreateEvent() should be fine! Querying for Networks...
Network Name: socal.rr.com Comment (if any): (null) NLA Data Type: NLA_CONNECTIVITY Network Type: Unmanaged Internet connectivity: Yes NLA Data Type: NLA_INTERFACE Type: 0 Speed: 0 Adapter Name: {2A5D3F54-F991-49B7-8E0F-C76A1C607010} No more data, exit...
Finished query, Now wait for change notification... ^C
Running it on Wine produces just an error about WSALookupServiceBegin failing.