mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[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 svn path=/trunk/; revision=72888
This commit is contained in:
@@ -39,6 +39,8 @@ LPITEMIDLIST ILCreateFromNetworkPlaceW(LPCWSTR lpNetworkPlace)
|
||||
wcscpy((WCHAR*)&pidl->mkid.abID[0], lpNetworkPlace);
|
||||
*(WORD*)((char*)pidl + cbData) = 0;
|
||||
|
||||
WNetAddConnectionW(lpNetworkPlace, NULL, NULL);
|
||||
|
||||
return pidl;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user