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(a)winehq.org Reporter: focht(a)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 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.