[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:
Pierre Schweitzer
2016-10-02 08:46:30 +00:00
parent bbc1b9deba
commit 67cf4907ae
@@ -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