Author: pschweitzer
Date: Sun Oct 2 08:46:30 2016
New Revision: 72888
URL:
http://svn.reactos.org/svn/reactos?rev=72888&view=rev
Log:
[SHELL32]
When parsing the UNC names, start the connection to allow the user to browse the net
folder immediately.
This is required for network providers which require the connections to be started before
browsing (as VBoxNP).
This is likely a hack.
ROSAPPS-303
CORE-11757
Modified:
trunk/reactos/dll/win32/shell32/folders/CNetFolder.cpp
Modified: trunk/reactos/dll/win32/shell32/folders/CNetFolder.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/folders/…
==============================================================================
--- trunk/reactos/dll/win32/shell32/folders/CNetFolder.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/folders/CNetFolder.cpp [iso-8859-1] Sun Oct 2
08:46:30 2016
@@ -39,6 +39,8 @@
wcscpy((WCHAR*)&pidl->mkid.abID[0], lpNetworkPlace);
*(WORD*)((char*)pidl + cbData) = 0;
+ WNetAddConnectionW(lpNetworkPlace, NULL, NULL);
+
return pidl;
}
#endif