https://bugs.winehq.org/show_bug.cgi?id=48713
Bug ID: 48713 Summary: WNetOpenEnum return 1222 "No Network" Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: mpr Assignee: wine-bugs@winehq.org Reporter: helgo.mario@web.de Distribution: ---
I query all names from all Windows Computers and resolve them to IPs later (easy way for me to get all Computers in the lacal network)
I use WNetOpenEnum for it with this parameters :
WNetOpenEnum(RESOURCE_GLOBALNET, RESOURCETYPE_DISK, RESOURCEUSAGE_CONTAINER, ... , ...); (the last parameters are just variables for the output)
This return 1222 ("No Network"). This happens with and without running root.
On Windows, i get all Samba Share names with this. Is it a bug or not completely implemented yet?