https://bugs.winehq.org/show_bug.cgi?id=45802
Bug ID: 45802 Summary: ReactOS logoff procedure needs 'mpr.WNetClearConnections' to disconnect user session network share connections Product: Wine Version: 3.15 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: mpr Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
to track: https://www.winehq.org/pipermail/wine-devel/2018-September/131785.html
https://source.winehq.org/patches/data/150841
Implementation also briefly described here:
http://computer-programming-forum.com/76-vb-winapi-networks/c591ba44b96f5973...
--- quote --- You can use WNetOpenEnum, WNetEnumResource and WNetCancelConnection2 to enumerate any established network connections and drop them. --- quote ---
I actually found a prototype in the now Open Source Windows File Manager (WinFile) on Github:
https://github.com/Microsoft/winfile/search?q=WNetClearConnections
--- snip --- DWORD APIENTRY WNetClearConnections( HWND hWnd ) ; --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=45802
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |0799550075654094a3bed080aac | |722b9bea01307 Resolution|--- |FIXED
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/0799550075654094a3bed080aa...
Thanks Pierre
Regards
https://bugs.winehq.org/show_bug.cgi?id=45802
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.16.