[SHELL32]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 7 Jul 2017 20:34:27 +0000 (20:34 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 7 Jul 2017 20:34:27 +0000 (20:34 +0000)
commit201f83b4b1e85f4f82ab3cfe31eb04bbcb5a9091
treea54d02129d5bfb3e7ac42218d66c0fa30252eef1
parent99fe0ae03709155175cc8d29346d86ff0197a060
[SHELL32]
- Simplify SHELL32_CoCreateInitSF by letting the callers fill the PERSIST_FOLDER_TARGET_INFO. This lets us stop using _ILSimpleGetTextW in it which breaks the logic that pidls should be read only by their shell folder. Also add an overload for SHELL32_CoCreateInitSF  that makes it simpler to create a shell folder with a csidl.
- Add a SHELL32_BindToSF helper to share some logic that was duplicated in several shell folders.
- Move SHELL32_GetCustomFolderAttributeFromPath, SHELL32_GetCLSIDForDirectory and SHELL32_GetFSItemAttributes, SHELL32_BindToFS to CFSFolder.cpp as these were fs specific.
- These changes give finer control to shell folders for how the bind will be done and shares more logic that can be shared.

svn path=/trunk/; revision=75301
reactos/dll/win32/shell32/folders/CAdminToolsFolder.cpp
reactos/dll/win32/shell32/folders/CDesktopFolder.cpp
reactos/dll/win32/shell32/folders/CDrivesFolder.cpp
reactos/dll/win32/shell32/folders/CFSFolder.cpp
reactos/dll/win32/shell32/folders/CFontsFolder.cpp
reactos/dll/win32/shell32/folders/CMyDocsFolder.cpp
reactos/dll/win32/shell32/folders/CNetFolder.cpp
reactos/dll/win32/shell32/folders/CRegFolder.cpp
reactos/dll/win32/shell32/shfldr.h
reactos/dll/win32/shell32/shlfolder.cpp