ReactOS
0.4.15-dev-4857-g47842d7
|
#include <wine/config.h>
#include <windef.h>
#include <winbase.h>
#include <shlobj.h>
#include <undocshell.h>
#include <shlwapi.h>
#include <sddl.h>
#include <strsafe.h>
#include <wine/debug.h>
#include <wine/unicode.h>
#include <shlwapi_undoc.h>
#include <shellutils.h>
#include <userenv.h>
#include "pidl.h"
#include "shell32_main.h"
#include "shresdef.h"
Go to the source code of this file.
Classes | |
struct | CSIDL_DATA |
Macros | |
#define | WIN32_NO_STATUS |
#define | _INC_WINDOWS |
#define | COBJMACROS |
#define | _WIN32_WINNT _WIN32_WINNT_WS03 |
#define | CSIDL_CONTACTS 0x0043 |
#define | CSIDL_DOWNLOADS 0x0047 |
#define | CSIDL_LINKS 0x004d |
#define | CSIDL_APPDATA_LOCALLOW 0x004e |
#define | CSIDL_SAVED_GAMES 0x0062 |
#define | CSIDL_SEARCHES 0x0063 |
Typedefs | |
typedef enum _CSIDL_Type | CSIDL_Type |
Variables | |
static const BOOL | is_win64 = sizeof(void *) > sizeof(int) |
static const WCHAR | Application_DataW [] = L"Application Data" |
static const WCHAR | Local_Settings_Application_DataW [] = L"Local Settings\\Application Data" |
static const WCHAR | Local_Settings_HistoryW [] = L"Local Settings\\History" |
static const WCHAR | Local_Settings_Temporary_Internet_FilesW [] = L"Local Settings\\Temporary Internet Files" |
static const WCHAR | MusicW [] = L"Music" |
static const WCHAR | PicturesW [] = L"Pictures" |
static const WCHAR | Program_FilesW [] = L"Program Files" |
static const WCHAR | Program_Files_Common_FilesW [] = L"Program Files\\Common Files" |
static const WCHAR | Start_Menu_ProgramsW [] = L"Start Menu\\Programs" |
static const WCHAR | Start_Menu_Admin_ToolsW [] = L"Start Menu\\Programs\\Administrative Tools" |
static const WCHAR | Start_Menu_StartupW [] = L"Start Menu\\Programs\\StartUp" |
static const WCHAR | szSHFolders [] = L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders" |
static const WCHAR | szSHUserFolders [] = L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders" |
static const WCHAR | szKnownFolderDescriptions [] = L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FolderDescriptions" |
static const WCHAR | szKnownFolderRedirections [] = L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders" |
static const CSIDL_DATA | CSIDL_Data [] |
#define _INC_WINDOWS |
Definition at line 29 of file shellpath.c.
#define _WIN32_WINNT _WIN32_WINNT_WS03 |
Definition at line 54 of file shellpath.c.
#define COBJMACROS |
Definition at line 30 of file shellpath.c.
#define CSIDL_APPDATA_LOCALLOW 0x004e |
Definition at line 856 of file shellpath.c.
#define CSIDL_CONTACTS 0x0043 |
Definition at line 853 of file shellpath.c.
#define CSIDL_DOWNLOADS 0x0047 |
Definition at line 854 of file shellpath.c.
#define CSIDL_LINKS 0x004d |
Definition at line 855 of file shellpath.c.
#define CSIDL_SAVED_GAMES 0x0062 |
Definition at line 857 of file shellpath.c.
#define CSIDL_SEARCHES 0x0063 |
Definition at line 858 of file shellpath.c.
#define WIN32_NO_STATUS |
Definition at line 28 of file shellpath.c.
typedef enum _CSIDL_Type CSIDL_Type |
Enumerator | |
---|---|
CSIDL_Type_User | |
CSIDL_Type_AllUsers | |
CSIDL_Type_CurrVer | |
CSIDL_Type_Disallowed | |
CSIDL_Type_NonExistent | |
CSIDL_Type_WindowsPath | |
CSIDL_Type_SystemPath | |
CSIDL_Type_SystemX86Path |
Definition at line 837 of file shellpath.c.
Definition at line 1961 of file shellpath.c.
Referenced by _SHGetUserProfilePath().
Definition at line 2196 of file shellpath.c.
Referenced by _SHGetUserShellFolderPath(), and SHGetFolderPathAndSubDirW().
Definition at line 2091 of file shellpath.c.
Referenced by _SHRegisterFolders(), and SHGetFolderPathAndSubDirW().
Definition at line 1892 of file shellpath.c.
Referenced by SHGetFolderPathAndSubDirW().
Definition at line 1776 of file shellpath.c.
Referenced by _SHGetAllUsersProfilePath(), _SHGetCurrentVersionPath(), and _SHGetUserProfilePath().
|
static |
Definition at line 2146 of file shellpath.c.
Referenced by _SHExpandEnvironmentStrings().
Definition at line 1740 of file shellpath.c.
Referenced by _SHExpandEnvironmentStrings().
|
static |
Definition at line 2002 of file shellpath.c.
Referenced by _SHRegisterFolders(), and SHGetFolderPathAndSubDirW().
|
static |
Definition at line 1657 of file shellpath.c.
Referenced by _SHGetAllUsersProfilePath(), and _SHGetUserProfilePath().
Definition at line 2131 of file shellpath.c.
Referenced by _SHExpandEnvironmentStrings().
Definition at line 2795 of file shellpath.c.
Referenced by SHELL_RegisterShellFolders().
|
static |
Definition at line 2625 of file shellpath.c.
Referenced by _SHRegisterCommonShellFolders(), and _SHRegisterUserShellFolders().
Definition at line 2727 of file shellpath.c.
Referenced by SHELL_RegisterShellFolders().
Definition at line 151 of file shellpath.c.
Referenced by PathQualifyExW().
Definition at line 408 of file shellpath.c.
Referenced by IsLFNDriveAW().
Definition at line 432 of file shellpath.c.
Definition at line 420 of file shellpath.c.
Referenced by IsLFNDriveAW(), and PathQualifyExW().
Definition at line 238 of file shellpath.c.
Definition at line 529 of file shellpath.c.
Definition at line 398 of file shellpath.c.
Definition at line 298 of file shellpath.c.
Referenced by PathGetShortPathAW().
Definition at line 328 of file shellpath.c.
Definition at line 313 of file shellpath.c.
Referenced by PathGetShortPathAW().
Definition at line 129 of file shellpath.c.
Referenced by PathResolveW().
Definition at line 352 of file shellpath.c.
Referenced by PathIsExeAW().
Definition at line 388 of file shellpath.c.
Definition at line 370 of file shellpath.c.
Referenced by CFileDefExt::InitGeneralPage(), COpenWithMenu::Initialize(), PathIsExeAW(), and SHELL_execute().
Definition at line 342 of file shellpath.c.
Definition at line 135 of file shellpath.c.
Referenced by PathResolveW().
|
static |
BOOL WINAPI PathMakeUniqueNameAW | ( | LPVOID | lpszBuffer, |
DWORD | dwBuffSize, | ||
LPCVOID | lpszShortName, | ||
LPCVOID | lpszLongName, | ||
LPCVOID | lpszPathName | ||
) |
Definition at line 477 of file shellpath.c.
|
static |
|
static |
LONG WINAPI PathProcessCommandAW | ( | LPCVOID | lpszPath, |
LPVOID | lpszBuff, | ||
DWORD | dwBuffSize, | ||
DWORD | dwFlags | ||
) |
Definition at line 799 of file shellpath.c.
|
static |
Definition at line 601 of file shellpath.c.
Referenced by PathQualifyAW().
Definition at line 622 of file shellpath.c.
Definition at line 161 of file shellpath.c.
Referenced by PathQualifyW(), and PathResolveW().
Definition at line 613 of file shellpath.c.
Referenced by PathQualifyA(), and PathQualifyAW().
Definition at line 284 of file shellpath.c.
Definition at line 630 of file shellpath.c.
Referenced by PathResolveAW().
Definition at line 756 of file shellpath.c.
Definition at line 676 of file shellpath.c.
Referenced by PathResolveA(), PathResolveAW(), and CShellLink::SetTargetFromPIDLOrPath().
|
static |
Definition at line 116 of file shellpath.c.
Referenced by PathResolveW().
BOOL WINAPI PathYetAnotherMakeUniqueName | ( | LPWSTR | buffer, |
LPCWSTR | path, | ||
LPCWSTR | shortname, | ||
LPCWSTR | longname | ||
) |
Definition at line 492 of file shellpath.c.
Referenced by BrsFolder_NewFolder(), CNewMenu::CreateNewFolder(), CDefaultContextMenu::DoCreateNewFolder(), loadShell32(), and CNewMenu::NewItemByNonCommand().
Definition at line 2823 of file shellpath.c.
Referenced by DllRegisterServer().
HRESULT WINAPI SHGetFolderLocation | ( | HWND | hwndOwner, |
int | nFolder, | ||
HANDLE | hToken, | ||
DWORD | dwReserved, | ||
LPITEMIDLIST * | ppidl | ||
) |
Definition at line 2883 of file shellpath.c.
Referenced by CBandSiteMenu::_CreateBuiltInISFBand(), BrsFolder_OnCreate(), ILIsParentOrSpecialParent(), CExplorerBand::InitializeExplorerBand(), CExplorerBand::InsertSubitems(), LoadRdpSettingsFromFile(), loadShell32(), CShellMenuCallback::OnGetSubMenu(), SaveRdpSettingsToFile(), SHCreateFromDesktop(), SHEmptyRecycleBinW(), SHGetSpecialFolderLocation(), START_TEST(), TestCommandLine(), and TestCompareIDList().
HRESULT WINAPI SHGetFolderPathA | ( | HWND | hwndOwner, |
int | nFolder, | ||
HANDLE | hToken, | ||
DWORD | dwFlags, | ||
LPSTR | pszPath | ||
) |
Definition at line 2595 of file shellpath.c.
Referenced by ini_absent(), ini_present(), loadShell32(), pf_exists(), ppc_present(), SHGetSpecialFolderPathA(), test_profile_items(), test_SHGetFolderPathA(), and test_SHGetFolderPathAndSubDirA().
HRESULT WINAPI SHGetFolderPathAndSubDirA | ( | HWND | hwndOwner, |
int | nFolder, | ||
HANDLE | hToken, | ||
DWORD | dwFlags, | ||
LPCSTR | pszSubPath, | ||
LPSTR | pszPath | ||
) |
Definition at line 2361 of file shellpath.c.
Referenced by test_SHGetFolderPathAndSubDirA().
HRESULT WINAPI SHGetFolderPathAndSubDirW | ( | HWND | hwndOwner, |
int | nFolder, | ||
HANDLE | hToken, | ||
DWORD | dwFlags, | ||
LPCWSTR | pszSubPath, | ||
LPWSTR | pszPath | ||
) |
Definition at line 2413 of file shellpath.c.
Referenced by CBandSiteMenu::_GetQLaunchPidl(), CreateShortcuts(), SHGetFolderPathAndSubDirA(), SHGetFolderPathW(), and ThemePageDlgProc().
HRESULT WINAPI SHGetFolderPathW | ( | HWND | hwndOwner, |
int | nFolder, | ||
HANDLE | hToken, | ||
DWORD | dwFlags, | ||
LPWSTR | pszPath | ||
) |
Definition at line 2348 of file shellpath.c.
Referenced by _SHRegisterFolders(), AutoStartupApplications(), BrsFolder_NewFolder(), CJournaledTestList::CJournaledTestList(), create_ie_menu(), create_profile_directory(), CreateObjectsFromPersistFolder(), DllRegisterServer(), FILEDLG95_InitControls(), FillDefaultSettings(), format_filelist_filename(), GetDefaultUserSendTo(), Initialize(), CFontExt::Initialize(), LoadThemes(), OnAddStartMenuItems(), OnAdvancedStartMenuItems(), OnBrowseButton(), OnClearRecentItems(), RegisterTypeLibraries(), set_installer_properties(), Settings_GetOutputPath(), SHGetFolderLocation(), SHGetFolderPathA(), SHGetSpecialFolderPathW(), test_namespace(), TestDefaultFormat(), and testRegStoreSavedCerts().
HRESULT WINAPI SHGetSpecialFolderLocation | ( | HWND | hwndOwner, |
INT | nFolder, | ||
LPITEMIDLIST * | ppidl | ||
) |
Definition at line 2984 of file shellpath.c.
Referenced by _GetDocumentsPidl(), DoGetPidl(), DoInitAliasPIDLs(), DoTestEntry(), ebrowser_browse_to_desktop(), FILEDLG95_InitControls(), FILEDLG95_LOOKIN_Init(), FILEDLG95_OnWMCommand(), filedlg_collect_places_pidls(), GetFavoritesFolder(), GetMergedFolder(), CSendToMenu::GetSpecialFolder(), IShellBrowserImpl_Construct(), loadShell32(), CACListISF::NextLocation(), CShellBrowser::OnOrganizeFavorites(), PidlBrowse(), CAddressEditBox::PopulateComboBox(), RSHELL_CStartMenu_CreateInstance(), SHAddToRecentDocs(), SHCloneSpecialIDList(), SHExplorerParseCmdLine(), SpecialFolderPath::SpecialFolderPath(), START_TEST(), test_ACListISF_FAVORITES(), test_ACListISF_MYCOMPUTER(), test_get_file_info_iconlist(), test_namespace(), test_parameters(), test_printers_folder(), test_SHCreateShellItem(), test_SHCreateShellItemArray(), test_ShellItemBindToHandler(), test_ShellItemGetAttributes(), test_SHGetIDListFromObject(), test_SHGetNameFromIDList(), test_SHGetPathFromIDList(), VariantToIdlist(), and WshCollection_Item().
Definition at line 2838 of file shellpath.c.
Referenced by get_cache_path(), init_strings(), loadShell32(), main(), test_BindToObject(), test_find_file(), and test_GetDisplayName().
Definition at line 2851 of file shellpath.c.
Referenced by cache_containers_init(), CreateSendToMyDocuments(), delhist_on_command(), CCopyToMenu::DoRealCopy(), CMoveToMenu::DoRealMove(), CMyDocsDropHandler::Drop(), CDeskLinkDropHandler::Drop(), CDesktopFolder::FinalConstruct(), get_csidl_dir(), GetStorageDirectory(), CFSFolder::InitializeEx(), InitPropertyBag_IPropertyBag_Read(), CShellMenuCallback::InsertRecentItem(), CShellMenuCallback::OnExec(), profile_items_callback(), SHAddToRecentDocs(), SHGetFolderLocation(), START_TEST(), test_FolderShortcut(), test_ITEMIDLIST_format(), test_ParseDisplayName(), test_SHCreateShellItemArray(), and test_SHGetPathFromIDList().
Definition at line 276 of file shellpath.c.
WINE_DEFAULT_DEBUG_CHANNEL | ( | shell | ) |
Definition at line 816 of file shellpath.c.
|
static |
Definition at line 870 of file shellpath.c.
Referenced by _SHGetAllUsersProfilePath(), _SHGetCurrentVersionPath(), _SHGetDefaultValue(), _SHGetUserProfilePath(), _SHRegisterFolders(), and SHGetFolderPathAndSubDirW().
Definition at line 58 of file shellpath.c.
Referenced by _SHGetCurrentVersionPath(), _SHGetDefaultValue(), get_classes_root_hkey(), test_CoGetPSClsid(), and test_SHGetFolderPathA().
Definition at line 817 of file shellpath.c.
|
static |
Definition at line 818 of file shellpath.c.
|
static |
Definition at line 819 of file shellpath.c.
Definition at line 820 of file shellpath.c.
Definition at line 821 of file shellpath.c.
Definition at line 823 of file shellpath.c.
Definition at line 822 of file shellpath.c.
Definition at line 825 of file shellpath.c.
Definition at line 824 of file shellpath.c.
Definition at line 826 of file shellpath.c.
|
static |
Definition at line 833 of file shellpath.c.
|
static |
Definition at line 834 of file shellpath.c.
|
static |
Definition at line 830 of file shellpath.c.
Referenced by _SHGetUserShellFolderPath(), _SHRegisterCommonShellFolders(), and _SHRegisterUserShellFolders().
|
static |
Definition at line 831 of file shellpath.c.
Referenced by _SHGetUserShellFolderPath(), _SHRegisterCommonShellFolders(), and _SHRegisterUserShellFolders().