/reactos/sdk/lib/atl/ |
H A D | atlpath.h | 22 inline BOOL PathFileExistsX(LPCSTR pszPath) const { return PathFileExistsA(pszPath); } in PathFileExistsX() argument 38 inline BOOL PathIsRootX(LPCSTR pszPath) const { return PathIsRootA(pszPath); } in PathIsRootX() argument 39 inline BOOL PathIsRootX(LPCWSTR pszPath) const { return PathIsRootW(pszPath); } in PathIsRootX() argument 42 inline BOOL PathIsUNCX(LPCSTR pszPath) { return PathIsUNCA(pszPath); } in PathIsUNCX() argument 43 inline BOOL PathIsUNCX(LPCWSTR pszPath) { return PathIsUNCW(pszPath); } in PathIsUNCX() argument 54 inline void PathAddBackslashX(LPSTR pszPath) { PathAddBackslashA(pszPath); } in PathAddBackslashX() argument 74 inline void PathQuoteSpacesX(LPSTR pszPath) { PathQuoteSpacesA(pszPath); } in PathQuoteSpacesX() argument 78 inline void PathRemoveArgsX(LPSTR pszPath) { PathRemoveArgsA(pszPath); } in PathRemoveArgsX() argument 79 inline void PathRemoveArgsX(LPWSTR pszPath) { PathRemoveArgsW(pszPath); } in PathRemoveArgsX() argument 90 inline void PathStripPathX(LPSTR pszPath) { PathStripPathA(pszPath); } in PathStripPathX() argument [all …]
|
/reactos/sdk/lib/pathcch/ |
H A D | pathcch.h | 74 _Inout_updates_(cchPath) PWSTR pszPath, 81 _Inout_updates_(cchPath) PWSTR pszPath, 90 _Inout_updates_(cchPath) PWSTR pszPath, 98 _Inout_updates_(cchPath) PWSTR pszPath, 151 _In_reads_(cchPath) PCWSTR pszPath, 159 _In_opt_ PCWSTR pszPath); 203 _In_ PCWSTR pszPath, 224 _In_ PCWSTR pszPath, 337 _In_reads_(cchPath) PWSTR pszPath, in PathCchFindExtension() 346 _In_ PWSTR pszPath, in PathCchSkipRoot() argument [all …]
|
/reactos/dll/win32/shell32/wine/ |
H A D | shellpath.c | 318 pchPath = &pszPath[lstrlenW(pszPath)]; in PathQualifyExW() 398 pchPath = CharPrevW(pszPath, pszPath + lstrlenW(pszPath)); in PathQualifyExW() 2033 if (!pszPath) in _SHGetDefaultValue() 2134 LPWSTR pszPath) in _SHGetCurrentVersionPath() argument 2144 if (!pszPath) in _SHGetCurrentVersionPath() 2244 LPWSTR pszPath) in _SHGetUserProfilePath() argument 2263 if (!pszPath) in _SHGetUserProfilePath() 2333 LPWSTR pszPath) in _SHGetAllUsersProfilePath() argument 2673 if (pszPath) in SHGetFolderPathAndSubDirW() 2841 LPSTR pszPath) in SHGetFolderPathA() argument [all …]
|
/reactos/base/shell/cmd/ |
H A D | where.c | 145 LPTSTR pszPathExt, pszPath; in SearchForExecutable() local 196 pszPath = (LPTSTR)cmd_alloc (ENV_BUFFER_SIZE * sizeof(TCHAR)); in SearchForExecutable() 197 if (!pszPath) in SearchForExecutable() 203 dwBuffer = GetEnvironmentVariable (_T("PATH"), pszPath, ENV_BUFFER_SIZE); in SearchForExecutable() 206 LPTSTR pszOldPath = pszPath; in SearchForExecutable() 207 pszPath = (LPTSTR)cmd_realloc (pszPath, dwBuffer * sizeof (TCHAR)); in SearchForExecutable() 208 if (!pszPath) in SearchForExecutable() 215 GetEnvironmentVariable (_T("PATH"), pszPath, dwBuffer); in SearchForExecutable() 221 pCh = _tcstok(pszPath, _T(";")); in SearchForExecutable() 226 cmd_free(pszPath); in SearchForExecutable() [all …]
|
H A D | dirstack.c | 35 PushDirectory (LPTSTR pszPath) in PushDirectory() argument 37 LPDIRENTRY lpDir = cmd_alloc(FIELD_OFFSET(DIRENTRY, szPath[_tcslen(pszPath) + 1])); in PushDirectory() 53 _tcscpy(lpDir->szPath, pszPath); in PushDirectory()
|
H A D | misc.c | 496 BOOL IsValidPathName(IN LPCTSTR pszPath) in IsValidPathName() argument 502 bResult = SetCurrentDirectory(pszPath); in IsValidPathName() 512 BOOL IsExistingFile(IN LPCTSTR pszPath) in IsExistingFile() argument 514 DWORD attr = GetFileAttributes(pszPath); in IsExistingFile() 518 BOOL IsExistingDirectory(IN LPCTSTR pszPath) in IsExistingDirectory() argument 520 DWORD attr = GetFileAttributes(pszPath); in IsExistingDirectory()
|
/reactos/dll/win32/shell32/shelldesktop/ |
H A D | CDirectoryList.cpp | 13 BOOL CDirectoryList::ContainsPath(LPCWSTR pszPath) const in ContainsPath() 15 assert(!PathIsRelativeW(pszPath)); in ContainsPath() 22 if (m_items[i].EqualPath(pszPath)) in ContainsPath() 28 BOOL CDirectoryList::AddPath(LPCWSTR pszPath) in AddPath() argument 30 assert(!PathIsRelativeW(pszPath)); in AddPath() 31 if (ContainsPath(pszPath)) in AddPath() 37 m_items[i].SetPath(pszPath); in AddPath() 41 return m_items.Add(pszPath); in AddPath() 61 BOOL CDirectoryList::DeletePath(LPCWSTR pszPath) in DeletePath() argument 63 assert(!PathIsRelativeW(pszPath)); in DeletePath() [all …]
|
H A D | CDirectoryList.h | 15 CDirectoryItem(LPCWSTR pszPath) in CDirectoryItem() argument 17 m_pszPath = _wcsdup(pszPath); in CDirectoryItem() 50 void SetPath(LPCWSTR pszPath) in SetPath() argument 53 m_pszPath = _wcsdup(pszPath); in SetPath() 56 BOOL EqualPath(LPCWSTR pszPath) const in EqualPath() argument 58 return m_pszPath != NULL && lstrcmpiW(m_pszPath, pszPath) == 0; in EqualPath() 79 BOOL ContainsPath(LPCWSTR pszPath) const; 80 BOOL AddPath(LPCWSTR pszPath); 83 BOOL DeletePath(LPCWSTR pszPath);
|
/reactos/modules/rosapps/applications/sysutils/regexpl/ |
H A D | RegistryTree.cpp | 47 const TCHAR *pszPath = Tree.GetCurrentPath(); in CRegistryTree() local 48 if ((pszPath[0] == _T('\\')) && (pszPath[1] == _T('\\'))) in CRegistryTree() 50 pszPath += 2; in CRegistryTree() 51 while (*pszPath && (*pszPath != _T('\\'))) in CRegistryTree() 52 pszPath++; in CRegistryTree() 54 ASSERT(*pszPath == _T('\\')); // if path begins with \\ it must be followed by machine name in CRegistryTree() 60 VERIFY(ChangeCurrentKey(pszPath)); in CRegistryTree() 216 BOOL CRegistryTree::NewKey(const TCHAR *pszKeyName, const TCHAR *pszPath, BOOL blnVolatile) in NewKey() argument 225 if (!Tree.ChangeCurrentKey(pszPath)) in NewKey() 262 BOOL CRegistryTree::DeleteSubkeys(const TCHAR *pszKeyPattern, const TCHAR *pszPath, BOOL blnRecursi… in DeleteSubkeys() argument [all …]
|
H A D | ShellCommandDeleteKey.cpp | 117 const TCHAR *pszPath; in Execute() local 124 pszPath = _T("."); in Execute() 136 pszPath = pchKey; in Execute() 149 if (!m_rTree.DeleteSubkeys(pszPattern,pszPath,blnRecursive)) in Execute()
|
H A D | ShellCommandNewKey.cpp | 117 const TCHAR *pszPath; in Execute() local 124 pszPath = _T("."); in Execute() 136 pszPath = pszNewKey; in Execute() 149 if (!m_rTree.NewKey(pszSubkeyName,pszPath,blnVolatile)) in Execute()
|
H A D | ShellCommandDeleteValue.cpp | 96 const TCHAR *pszPath; in Execute() local 111 pszPath = pchSep?pszValueFull:_T("."); in Execute() 119 pszPath = _T("."); in Execute() 131 if (!m_rTree.GetKey(pszPath,KEY_QUERY_VALUE|KEY_SET_VALUE,Key)) in Execute()
|
H A D | ShellCommandDir.cpp | 120 const TCHAR *pszPath = _T("."); in Execute() local 124 pszPath = pszKey; in Execute() 149 pszPath = _T("\\"); in Execute() 155 pszPath = _T("."); in Execute() 162 if (!m_rTree.GetKey(pszPath,KEY_ENUMERATE_SUB_KEYS|KEY_QUERY_VALUE,Key)) in Execute()
|
H A D | RegistryTree.h | 78 BOOL DeleteSubkeys(const TCHAR *pszKeyPattern, const TCHAR *pszPath, BOOL blnRecursive = FALSE); 80 BOOL NewKey(const TCHAR *pszKeyName, const TCHAR *pszPath, BOOL blnVolatile = FALSE);
|
H A D | ShellCommandSetValue.cpp | 212 const TCHAR *pszPath; in Execute() local 231 pszPath = pchSep?pszValueFull:_T("."); in Execute() 245 pszPath = _T("."); in Execute() 248 if (!m_rTree.GetKey(pszPath,KEY_SET_VALUE,Key)) in Execute()
|
H A D | ShellCommandValue.cpp | 125 const TCHAR *pszPath; in Execute() local 144 pszPath = pchSep?pchValueFull:_T("."); in Execute() 158 pszPath = _T("."); in Execute() 161 if (!m_rTree.GetKey(pszPath,KEY_READ,Key)) in Execute()
|
/reactos/dll/win32/shlwapi/ |
H A D | utils.cpp | 223 _Inout_ LPWSTR pszPath, in PathFileExistsDefExtAndAttributesW() argument 227 TRACE("(%s, 0x%lX, %p)\n", debugstr_w(pszPath), dwWhich, pdwFileAttributes); in PathFileExistsDefExtAndAttributesW() 232 if (!pszPath) in PathFileExistsDefExtAndAttributesW() 235 if (!dwWhich || (*PathFindExtensionW(pszPath) && (dwWhich & WHICH_OPTIONAL))) in PathFileExistsDefExtAndAttributesW() 236 return PathFileExistsAndAttributesW(pszPath, pdwFileAttributes); in PathFileExistsDefExtAndAttributesW() 238 if (!PathFileExistsDefExtW(pszPath, dwWhich)) in PathFileExistsDefExtAndAttributesW() 246 *pdwFileAttributes = GetFileAttributesW(pszPath); in PathFileExistsDefExtAndAttributesW()
|
/reactos/base/applications/mstsc/ |
H A D | settings.c | 374 WCHAR pszPath[MAX_PATH]; in SaveRdpSettingsToFile() local 391 if (SHGetPathFromIDListW(lpidl, pszPath)) in SaveRdpSettingsToFile() 393 wcscat(pszPath, L"\\Default.rdp"); in SaveRdpSettingsToFile() 394 lpFile = pszPath; in SaveRdpSettingsToFile() 422 WCHAR pszPath[MAX_PATH]; in LoadRdpSettingsFromFile() local 439 if (SHGetPathFromIDListW(lpidl, pszPath)) in LoadRdpSettingsFromFile() 441 wcscat(pszPath, L"\\Default.rdp"); in LoadRdpSettingsFromFile() 442 lpFile = pszPath; in LoadRdpSettingsFromFile()
|
/reactos/dll/win32/url/ |
H A D | url_main.c | 93 CHAR pszPath[MAX_PATH]; in FileProtocolHandlerA() local 95 HRESULT createpath = PathCreateFromUrlA(pszUrl,pszPath,&size,0); in FileProtocolHandlerA() 99 ShellExecuteA(hWnd, NULL, createpath==S_OK ? pszPath : pszUrl, NULL, NULL, nShowCmd); in FileProtocolHandlerA()
|
/reactos/dll/win32/shell32/folders/ |
H A D | CDrivesFolder.cpp | 1051 LPWSTR pszPath; in GetDisplayNameOf() local 1075 if (!pszPath) in GetDisplayNameOf() 1078 pszPath[0] = 0; in GetDisplayNameOf() 1086 lstrcpynW(wszDrive, pszPath, 4); in GetDisplayNameOf() 1087 pszPath[0] = L'\0'; in GetDisplayNameOf() 1099 if (!wcslen(pszPath)) in GetDisplayNameOf() 1127 wcscat(pszPath, L" ("); in GetDisplayNameOf() 1129 wcscat(pszPath, wszDrive); in GetDisplayNameOf() 1130 wcscat(pszPath, L")"); in GetDisplayNameOf() 1136 strRet->pOleStr = pszPath; in GetDisplayNameOf() [all …]
|
H A D | CRegFolder.cpp | 631 if (!pszPath) in GetDisplayNameOf() 634 pszPath[0] = ':'; in GetDisplayNameOf() 635 pszPath[1] = ':'; in GetDisplayNameOf() 636 SHELL32_GUIDToStringW(m_pInfo->clsid, &pszPath[2]); in GetDisplayNameOf() 638 strRet->pOleStr = pszPath; in GetDisplayNameOf() 697 if (!pszPath) in GetDisplayNameOf() 711 pathlen = wcslen(pszPath); in GetDisplayNameOf() 712 pItemName = &pszPath[pathlen]; in GetDisplayNameOf() 738 if (!HCR_GetClassNameW(*clsid, pszPath, cchPath)) in GetDisplayNameOf() 745 strRet->pOleStr = pszPath; in GetDisplayNameOf() [all …]
|
/reactos/base/applications/cmdutils/replace/ |
H A D | util.c | 98 BOOL IsExistingFile(IN LPCTSTR pszPath) in IsExistingFile() argument 100 DWORD attr = GetFileAttributes(pszPath); in IsExistingFile() 104 BOOL IsExistingDirectory(IN LPCTSTR pszPath) in IsExistingDirectory() argument 106 DWORD attr = GetFileAttributes(pszPath); in IsExistingDirectory()
|
H A D | replace.h | 42 BOOL IsExistingFile(IN LPCTSTR pszPath); 43 BOOL IsExistingDirectory(IN LPCTSTR pszPath);
|
/reactos/modules/rosapps/applications/explorer-old/utility/ |
H A D | shellclasses.cpp | 454 …static DynamicFct<BOOL (__stdcall*)(HWND hwnd, LPTSTR pszPath, int csidl, BOOL fCreate)> s_pSHGetS… in SpecialFolderFSPath() 456 …static DynamicFct<BOOL (__stdcall*)(HWND hwnd, LPTSTR pszPath, int csidl, BOOL fCreate)> s_pSHGetS… in SpecialFolderFSPath() 463 … (__stdcall*)(HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPTSTR pszPath)> s_pSHGetFolderP… in SpecialFolderFSPath() 465 … (__stdcall*)(HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPTSTR pszPath)> s_pSHGetFolderP… in SpecialFolderFSPath() 472 … (__stdcall*)(HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPTSTR pszPath)> s_pSHGetFolderP… in SpecialFolderFSPath() 474 … (__stdcall*)(HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPTSTR pszPath)> s_pSHGetFolderP… in SpecialFolderFSPath()
|
/reactos/dll/win32/shell32/ |
H A D | utils.cpp | 26 BOOL PathIsDotOrDotDotW(_In_ LPCWSTR pszPath) in PathIsDotOrDotDotW() argument 28 if (pszPath[0] != L'.') in PathIsDotOrDotDotW() 30 return !pszPath[1] || (pszPath[1] == L'.' && !pszPath[2]); in PathIsDotOrDotDotW() 38 BOOL PathIsValidElement(_In_ LPCWSTR pszPath) in PathIsValidElement() argument 40 if (!*pszPath || PathIsDotOrDotDotW(pszPath)) in PathIsValidElement() 43 for (LPCWSTR pch = pszPath; *pch; ++pch) in PathIsValidElement() 433 _In_ LPCSTR pszPath) in SHSetFolderPathA() argument 435 TRACE("(%d, %p, 0x%X, %s)\n", csidl, hToken, dwFlags, debugstr_a(pszPath)); in SHSetFolderPathA() 436 CStringW strPathW(pszPath); in SHSetFolderPathA() 1158 SHGetPathCchFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath, SIZE_T cchPathMax);
|