Home
last modified time | relevance | path

Searched refs:TempPath (Results 1 – 8 of 8) sorted by relevance

/reactos/modules/rostests/apitests/apphelp/
H A Dregister.cpp190 WCHAR TempPath[MAX_PATH * 2]; in START_TEST() local
223 GetTempPathW(_countof(TempPath), TempPath); in START_TEST()
224 StringCchCatW(TempPath, _countof(TempPath), L"\\shim_db.sdb"); in START_TEST()
232 Success = pSdbRegisterDatabase(TempPath, 0); in START_TEST()
242 Success = pSdbRegisterDatabase(TempPath, 1); in START_TEST()
329 DeleteFileW(TempPath); in START_TEST()
333 Success = pSdbRegisterDatabase(TempPath, 0); in START_TEST()
345 DeleteFileW(TempPath); in START_TEST()
349 Success = pSdbRegisterDatabase(TempPath, 0); in START_TEST()
361 DeleteFileW(TempPath); in START_TEST()
[all …]
/reactos/modules/rostests/win32/fs/tunneltest/
H A Dtunneltest.c22 WCHAR TempPath[MAX_PATH + 1]; in wmain() local
34 if (GetTempPathW(sizeof(TempPath) / sizeof(TempPath[0]), TempPath) == 0) in wmain()
41 RootPath[0] = TempPath[0]; in wmain()
63 FilePos = wcslen(TempPath); in wmain()
71 wcscat(TempPath, File1); in wmain()
96 TempPath[FilePos - 1] = 0; in wmain()
97 wcscat(TempPath, File2); in wmain()
107 TempPath[FilePos] = 0; in wmain()
108 wcscat(TempPath, File1); in wmain()
109 wcscpy(CopyPath, TempPath); in wmain()
[all …]
/reactos/base/shell/cmd/
H A Dmisc.c90 TCHAR TempPath[MAX_PATH]; in GetPathCase() local
91 LPTSTR pchTemp = TempPath; in GetPathCase()
92 LPTSTR pchTempEnd = TempPath + _countof(TempPath); in GetPathCase()
118 if (TempPath[0] && TempPath[1] == _T(':') && !TempPath[2]) /* "C:", "D:" etc. */ in GetPathCase()
120 StringCchCat(OutPath, MAX_PATH, TempPath); in GetPathCase()
122 StringCchCat(TempPath, _countof(TempPath), _T("\\")); in GetPathCase()
126 hFind = FindFirstFile(TempPath, &FindFileData); in GetPathCase()
136 StringCchCopy(TempPath, _countof(TempPath), OutPath); in GetPathCase()
138 pchTemp = TempPath + _tcslen(TempPath); in GetPathCase()
/reactos/base/applications/cmdutils/replace/
H A Dutil.c56 TCHAR TempPath[MAX_PATH]; in GetPathCase() local
59 _tcscpy(TempPath, _T("")); in GetPathCase()
66 _tcsncat(TempPath, &Path[i], 1); in GetPathCase()
73 if (_tcslen(TempPath) == 2 && TempPath[1] == _T(':')) in GetPathCase()
75 _tcscat(OutPath, TempPath); in GetPathCase()
77 _tcscat(TempPath, _T("\\")); in GetPathCase()
81 hFind = FindFirstFile(TempPath,&FindFileData); in GetPathCase()
87 _tcscat(TempPath, _T("\\")); in GetPathCase()
/reactos/modules/rostests/apitests/gdi32/
H A DGetGlyphIndices.c34 WCHAR TempPath[MAX_PATH]; in ExtractTTFFile() local
43 GetTempPathW(MAX_PATH, TempPath); in ExtractTTFFile()
44 GetTempFileNameW(TempPath, L"ttf", 0, TempFile); in ExtractTTFFile()
/reactos/modules/rostests/apitests/ntdll/
H A DNtMapViewOfSection.c1373 WCHAR TempPath[MAX_PATH]; in Test_SectionContents() local
1384 Length = GetTempPathW(MAX_PATH, TempPath); in Test_SectionContents()
1386 Length = GetTempFileNameW(TempPath, L"nta", 0, FileName); in Test_SectionContents()
1719 WCHAR TempPath[MAX_PATH]; in Test_RawSize() local
1730 Length = GetTempPathW(MAX_PATH, TempPath); in Test_RawSize()
1732 Length = GetTempFileNameW(TempPath, L"nta", 0, FileName); in Test_RawSize()
1877 WCHAR TempPath[MAX_PATH]; in Test_EmptyFile() local
1883 Length = GetTempPathW(MAX_PATH, TempPath); in Test_EmptyFile()
1885 Length = GetTempFileNameW(TempPath, L"nta", 0, FileName); in Test_EmptyFile()
1924 WCHAR TempPath[MAX_PATH]; in Test_Truncate() local
[all …]
/reactos/boot/freeldr/freeldr/ntldr/
H A Dregistry.c742 UNICODE_STRING TempPath = RemainingPath; in RegOpenKey() local
745 GetNextPathElement(&SubKeyName, &TempPath); in RegOpenKey()
752 RemainingPath = TempPath; in RegOpenKey()
/reactos/dll/win32/setupapi/
H A Dqueue.c1020 WCHAR TempPath[MAX_PATH]; in do_file_copyW() local
1030 if (!GetTempPathW(ARRAYSIZE(TempPath), TempPath)) in do_file_copyW()
1044 if (!GetTempFileNameW(TempPath, L"", 0, TempFile)) in do_file_copyW()
1048 ERR("GetTempFileNameW(%s) error\n", debugstr_w(TempPath)); in do_file_copyW()