base/applications/fontview/fontview.c |
492 GetWindowsDirectoryW(szDestPath, MAX_PATH);
|
base/applications/msconfig/freeldrpage.c |
123 GetWindowsDirectoryW(winDir, PATH_MAX);
|
base/applications/msconfig/systempage.c |
81 GetWindowsDirectoryW(winDir, PATH_MAX);
|
base/applications/msconfig_new/systempage.c |
81 GetWindowsDirectoryW(winDir, PATH_MAX);
|
base/applications/rapps/geninst.cpp |
256 GetWindowsDirectoryW(windir, _countof(windir));
|
base/applications/regedt32/regedt32.c |
19 if(GetWindowsDirectory(szPath, MAX_PATH))
|
base/applications/setup16/main.c |
60 GetWindowsDirectoryW(szWindir, MAX_PATH);
|
base/setup/welcome/welcome.c |
314 if (GetWindowsDirectory(lpInstallerPath, PathSize - cchInstallerNameLen - 1))
|
base/shell/explorer/startup.cpp |
461 res = GetWindowsDirectoryW(gen_path, _countof(gen_path));
|
base/shell/progman/main.c |
399 GetWindowsDirectoryW(szWinDir, ARRAYSIZE(szWinDir));
|
base/system/format/format.c |
457 rc = GetWindowsDirectoryW(path, MAX_PATH);
|
base/system/userinit/livecd.c |
894 GetWindowsDirectoryW(UnattendInf, _countof(UnattendInf));
|
dll/cpl/desk/background.c |
437 if (GetWindowsDirectory(szSearchPath, MAX_PATH))
|
dll/cpl/desk/screensaver.c |
579 GetWindowsDirectory(szSearchPath, _countof(szSearchPath));
|
dll/cpl/mmsys/mmsys.c |
462 Length = GetWindowsDirectoryW(szBuffer, _countof(szBuffer));
512 Length = GetWindowsDirectoryW(szBuffer, _countof(szBuffer));
|
dll/cpl/mmsys/sounds.c |
834 length = GetWindowsDirectoryW(szPath, _countof(szPath));
|
dll/cpl/powercfg/hibernate.c |
36 if (GetWindowsDirectory(szTemp,MAX_PATH))
|
dll/directx/wine/dxdiagn/provider.c |
833 GetWindowsDirectoryW(buffer, MAX_PATH);
|
dll/shellext/zipfldr/zipfldr.cpp |
185 GetWindowsDirectoryW(app, _countof(app));
|
dll/win32/advpack/files.c |
140 GetWindowsDirectoryW(szIniPath, MAX_PATH);
1112 GetWindowsDirectoryW(szWinDir, MAX_PATH);
|
dll/win32/advpack/install.c |
423 GetWindowsDirectoryW(path, MAX_PATH);
|
dll/win32/browseui/parsecmdline.cpp |
246 GetWindowsDirectoryW(strDir, MAX_PATH);
|
dll/win32/comctl32/comctl32_ros.diff |
187 + GetWindowsDirectoryW(pwszBuf, MAX_PATH);
|
dll/win32/comctl32/commctrl.c |
125 GetWindowsDirectoryW(pwszBuf, MAX_PATH);
|
dll/win32/cryptnet/cryptnet_main.c |
1040 GetWindowsDirectoryW(path, components.dwUrlPathLength);
|
dll/win32/fusion/asmcache.c |
117 DWORD len = GetWindowsDirectoryW(dir, size);
|
dll/win32/fusion/fusion.c |
132 len = GetWindowsDirectoryW(windir, MAX_PATH);
|
dll/win32/hhctrl.ocx/hhctrl.c |
144 GetWindowsDirectoryW(fullname, buflen);
|
dll/win32/kernel32/client/loader.c |
126 Len = GetWindowsDirectoryA(PathBuffer, MAX_PATH);
|
dll/win32/kernel32/client/path.c |
23 PVOID gpTermsrvGetWindowsDirectoryA;
24 PVOID gpTermsrvGetWindowsDirectoryW;
2095 !(ret = GetWindowsDirectoryW( tmp_path, MAX_PATH )))
2337 GetWindowsDirectoryA(OUT LPSTR lpBuffer,
2341 if (gpTermsrvGetWindowsDirectoryA) UNIMPLEMENTED;
2352 GetWindowsDirectoryW(OUT LPWSTR lpBuffer,
2356 if (gpTermsrvGetWindowsDirectoryW) UNIMPLEMENTED;
|
dll/win32/kernel32/kernel32.spec |
663 @ stdcall GetWindowsDirectoryA(ptr long)
664 @ stdcall GetWindowsDirectoryW(ptr long)
|
dll/win32/kernel32/wine/profile.c |
801 GetWindowsDirectoryW( windirW, MAX_PATH );
|
dll/win32/mscoree/metahost.c |
677 GetWindowsDirectoryW(base_path, MAX_PATH);
|
dll/win32/msgina/msgina.c |
463 len = GetWindowsDirectoryW(CurrentDirectory, MAX_PATH);
466 ERR("GetWindowsDirectoryW() failed\n");
485 len = GetWindowsDirectoryW(CurrentDirectory, MAX_PATH);
488 ERR("GetWindowsDirectoryW() failed\n");
|
dll/win32/msi/msi.c |
2030 GetWindowsDirectoryW( path, MAX_PATH );
3828 if (!GetWindowsDirectoryW(path, MAX_PATH))
|
dll/win32/msi/package.c |
559 GetWindowsDirectoryW(windir, MAX_PATH);
1069 GetWindowsDirectoryW( path, MAX_PATH );
|
dll/win32/scrrun/filesystem.c |
3469 ret = GetWindowsDirectoryW(pathW, ARRAY_SIZE(pathW));
|
dll/win32/setupapi/dirid.c |
80 GetWindowsDirectoryW( buffer, MAX_PATH );
90 GetWindowsDirectoryW( buffer, MAX_PATH );
94 GetWindowsDirectoryW( buffer, MAX_PATH );
98 GetWindowsDirectoryW( buffer, MAX_PATH );
108 GetWindowsDirectoryW( buffer, MAX_PATH );
113 GetWindowsDirectoryW( buffer, MAX_PATH );
118 GetWindowsDirectoryW( buffer, MAX_PATH );
|
dll/win32/setupapi/install.c |
1746 GetWindowsDirectoryW(ReactOSDir, MAX_PATH);
2380 len = GetWindowsDirectoryW(NULL, 0) + strlenW(SourceInfFileName) + 12;
2386 GetWindowsDirectoryW(path, len);
|
dll/win32/setupapi/misc.c |
1227 if (!GetWindowsDirectoryW( target, sizeof(target)/sizeof(WCHAR) )) return FALSE;
2048 GetWindowsDirectoryW(path, MAX_PATH);
2061 GetWindowsDirectoryW(path, MAX_PATH);
|
dll/win32/setupapi/parser.c |
1260 len = GetWindowsDirectoryW( NULL, 0 ) + strlenW(name) + 12;
1266 GetWindowsDirectoryW( path, len );
1383 GetWindowsDirectoryW( Buffer, MAX_PATH );
|
dll/win32/setupapi/query.c |
65 GetWindowsDirectoryW(inf_path, MAX_PATH);
74 GetWindowsDirectoryW(inf_path, MAX_PATH);
|
dll/win32/shell32/dialogs/filetypes.cpp |
234 GetWindowsDirectoryW(szWinDir, _countof(szWinDir));
|
dll/win32/shell32/shlexec.cpp |
2040 ::GetWindowsDirectoryW(dirBuffer, _countof(dirBuffer));
|
dll/win32/shell32/wine/shellpath.c |
196 GetWindowsDirectoryW(szRoot, _countof(szRoot));
599 GetWindowsDirectoryW(szRoot, _countof(szRoot));
2691 GetWindowsDirectoryW(szTemp, MAX_PATH);
2931 GetWindowsDirectoryW(path, MAX_PATH);
|
dll/win32/shlwapi/path.c |
1237 GetWindowsDirectoryW(buff, MAX_PATH);
1245 GetWindowsDirectoryW(buff, MAX_PATH);
3135 GetWindowsDirectoryW(buff, MAX_PATH);
|
dll/win32/shlwapi/shlwapi.spec |
97 97 stdcall -noname GetWindowsDirectoryWrapW(ptr long) kernel32.GetWindowsDirectoryW
|
dll/win32/sxs/cache.c |
105 unsigned int len = GetWindowsDirectoryW( path, MAX_PATH );
|
dll/win32/syssetup/install.c |
1420 if (GetWindowsDirectoryW(szBuffer, ARRAYSIZE(szBuffer)))
|
dll/win32/syssetup/logfile.c |
46 GetWindowsDirectoryW(szFileName, MAX_PATH);
|
dll/win32/syssetup/netinstall.c |
55 if (GetWindowsDirectoryW(Buffer, BufferSize) > BufferSize)
412 GetWindowsDirectoryW(szInfPath, MAX_PATH);
|
dll/win32/version/version.c |
1242 GetWindowsDirectoryA( winDir, MAX_PATH );
1340 GetWindowsDirectoryW( winDir, MAX_PATH );
|
modules/rosapps/applications/explorer-old/services/startup.c |
439 res = GetWindowsDirectory(gen_path, sizeof(gen_path));
|
modules/rosapps/applications/net/ncftp/libncftp/util.c |
258 // if (GetWindowsDirectory(dst, size - 1) < 1)
|
modules/rosapps/applications/net/ncftp/ncftp/getline.c |
2016 if (GetWindowsDirectory(wdir, sizeof(wdir) - 1) < 1)
|
modules/rosapps/applications/sysutils/systeminfo/systeminfo.c |
475 if (!GetWindowsDirectoryW(Buf, BUFFER_SIZE))
476 wprintf(L"Error! GetWindowsDirectory failed.");
|
modules/rosapps/lib/vfdlib/vfdctl.c |
266 len = GetWindowsDirectory(system_dir, sizeof(system_dir));
1077 DWORD len = GetWindowsDirectory(sFileName, MAX_PATH);
|
modules/rostests/apitests/atl/CString.cpp |
130 #define GetWindowsDirectoryX GetWindowsDirectoryW
143 #undef GetWindowsDirectoryX
154 #define GetWindowsDirectoryX GetWindowsDirectoryA
|
modules/rostests/apitests/atl/CString.inl |
395 GetWindowsDirectoryX(buf, _countof(buf));
|
modules/rostests/apitests/browseui/SHExplorerParseCmdLine.c |
453 GetWindowsDirectoryW(winDir, _countof(winDir));
|
modules/rostests/apitests/gdi32/GetFontResourceInfoW.c |
94 GetWindowsDirectoryW(pszDir, MAX_PATH);
|
modules/rostests/apitests/gdi32/GetTextMetrics.c |
272 GetWindowsDirectoryA(szPath, MAX_PATH);
|
modules/rostests/apitests/gdi32/NtGdiAddFontResource.c |
34 GetWindowsDirectoryW(lpszFontPath, MAX_PATH);
|
modules/rostests/apitests/kernel32/FindFiles.c |
555 if (!GetWindowsDirectoryA(OSDirA, _countof(OSDirA))) return 0;
|
modules/rostests/apitests/kernel32/SetCurrentDirectory.c |
17 GetWindowsDirectoryW(Buffer, sizeof(Buffer) / sizeof(WCHAR));
|
modules/rostests/apitests/ntdll/LdrLoadDll.c |
33 GetWindowsDirectoryW(szWinDir, _countof(szWinDir));
|
modules/rostests/apitests/ntdll/NtQueryVolumeInformationFile.c |
261 GetWindowsDirectoryW(path, MAX_PATH);
|
modules/rostests/apitests/shell32/FindExecutable.cpp |
189 GetWindowsDirectoryA(s_win_dir, _countof(s_win_dir));
191 GetWindowsDirectoryA(s_win_notepad, _countof(s_win_notepad));
197 GetWindowsDirectoryA(s_win_test_exe, _countof(s_win_test_exe));
215 GetWindowsDirectoryA(s_win_bat_file, _countof(s_win_bat_file));
225 GetWindowsDirectoryA(s_win_txt_file, _countof(s_win_txt_file));
|
modules/rostests/apitests/shell32/ItemIDList.cpp |
58 GetWindowsDirectoryW(szPath, _countof(szPath));
|
modules/rostests/apitests/shell32/PathIsEqualOrSubFolder.cpp |
24 GetWindowsDirectoryW(szPath1, _countof(szPath1));
27 GetWindowsDirectoryW(szPath2, _countof(szPath2));
|
modules/rostests/apitests/shell32/PathIsTemporary.cpp |
17 GetWindowsDirectoryA(szPath, _countof(szPath));
38 GetWindowsDirectoryW(szPath, _countof(szPath));
|
modules/rostests/apitests/shell32/SHParseDisplayName.cpp |
157 GetWindowsDirectoryW(winDir, _countof(winDir));
|
modules/rostests/apitests/shell32/ShellExecCmdLine.cpp |
669 GetWindowsDirectoryW(s_win_test_exe, _countof(s_win_test_exe));
|
modules/rostests/apitests/shell32/ShellExecuteEx.cpp |
232 GetWindowsDirectoryW(s_win_dir, _countof(s_win_dir));
238 GetWindowsDirectoryW(s_win_notepad, _countof(s_win_notepad));
246 GetWindowsDirectoryW(s_win_test_exe, _countof(s_win_test_exe));
261 GetWindowsDirectoryW(s_win_bat_file, _countof(s_win_bat_file));
277 GetWindowsDirectoryW(s_win_txt_file, _countof(s_win_txt_file));
|
modules/rostests/apitests/shell32/ShellExecuteW.cpp |
25 if (!GetWindowsDirectoryW(WinDir, _countof(WinDir)))
27 skip("GetWindowsDirectoryW failed\n");
|
modules/rostests/apitests/shlwapi/PathFileExistsDefExtAndAttributesW.c |
29 GetWindowsDirectoryW(szPath, _countof(szPath));
|
modules/rostests/apitests/shlwapi/PathFindOnPath.c |
212 GetWindowsDirectoryW(Path, _countof(Path));
219 GetWindowsDirectoryW(PathExpected, _countof(PathExpected));
321 GetWindowsDirectoryW(s_WinDir, _countof(s_WinDir));
|
modules/rostests/rosautotest/CConfiguration.cpp |
31 if(!GetWindowsDirectoryW(WindowsDirectory, MAX_PATH))
32 FATAL("GetWindowsDirectoryW failed\n");
|
modules/rostests/rosautotest/CWineTest.cpp |
34 if (!GetWindowsDirectoryW(wszDirectory, MAX_PATH))
35 FATAL("GetWindowsDirectoryW failed\n");
|
modules/rostests/winetests/advapi32/security.c |
4044 bret = GetWindowsDirectoryA(windows_dir, MAX_PATH);
4045 ok(bret, "GetWindowsDirectory failed with error %d\n", GetLastError());
|
modules/rostests/winetests/advpack/files.c |
164 GetWindowsDirectoryA(windir, sizeof(windir));
|
modules/rostests/winetests/comdlg32/filedlg.c |
99 GetWindowsDirectoryA(szInitialDir, MAX_PATH);
1236 GetWindowsDirectoryA(szInitialDir, MAX_PATH);
1237 GetWindowsDirectoryW(szInitialDirW, MAX_PATH);
|
modules/rostests/winetests/fusion/asmcache.c |
981 GetWindowsDirectoryA(dllpath, MAX_PATH);
|
modules/rostests/winetests/fusion/fusion.c |
90 GetWindowsDirectoryA(windirA, MAX_PATH);
|
modules/rostests/winetests/gdi32/font.c |
5050 if (!GetWindowsDirectoryA(file_name, sizeof(file_name))) return NULL;
|
modules/rostests/winetests/kernel32/actctx.c |
2547 GetWindowsDirectoryA(dir, sizeof(dir)/sizeof(CHAR));
|
modules/rostests/winetests/kernel32/directory.c |
53 static void test_GetWindowsDirectoryA(void)
58 len_with_null = GetWindowsDirectoryA(NULL, 0);
62 len_with_null = GetWindowsDirectoryA(buf, 1);
66 len = GetWindowsDirectoryA(buf, len_with_null - 1);
68 ok(len == len_with_null, "GetWindowsDirectoryW returned %d, expected %d\n",
72 len = GetWindowsDirectoryA(buf, len_with_null);
75 ok(len == len_with_null-1, "GetWindowsDirectoryA returned %d, expected %d\n",
79 static void test_GetWindowsDirectoryW(void)
85 len_with_null = GetWindowsDirectoryW(NULL, 0);
88 win_skip("GetWindowsDirectoryW is not implemented\n");
94 len = GetWindowsDirectoryW(buf, 1);
96 ok(len == len_with_null, "GetWindowsDirectoryW returned %d, expected %d\n",
100 len = GetWindowsDirectoryW(buf, len_with_null - 1);
102 ok(len == len_with_null, "GetWindowsDirectoryW returned %d, expected %d\n",
106 len = GetWindowsDirectoryW(buf, len_with_null);
109 ok(len == len_with_null-1, "GetWindowsDirectoryW returned %d, expected %d\n",
115 * for GetWindowsDirectory tests.
548 test_GetWindowsDirectoryA();
549 test_GetWindowsDirectoryW();
|
modules/rostests/winetests/kernel32/environ.c |
345 ret_size1 = GetWindowsDirectoryA(buf1,256);
346 ok ((ret_size1 >0) && (ret_size1<256), "GetWindowsDirectory Failed\n");
|
modules/rostests/winetests/kernel32/file.c |
1267 ret = GetWindowsDirectoryA(windowsdir, sizeof(windowsdir));
1269 ok(ret != 0, "GetWindowsDirectory: error %d\n", GetLastError());
1719 result = GetWindowsDirectoryA(windowsdir, sizeof(windowsdir));
1721 ok(result != 0, "GetWindowsDirectory: error %d\n", GetLastError());
2504 GetWindowsDirectoryA(windowsdir, sizeof(windowsdir));
2613 GetWindowsDirectoryA( buffer2, sizeof(buffer2) );
3093 GetWindowsDirectoryA(szFile, sizeof(szFile)/sizeof(szFile[0])-1-strlen("\\win.ini"));
3315 length = GetWindowsDirectoryA(buff, MAX_PATH);
|
modules/rostests/winetests/kernel32/module.c |
241 GetWindowsDirectoryA(path1, sizeof(path1));
251 GetWindowsDirectoryA(path2, sizeof(path2));
943 GetWindowsDirectoryW( buf, MAX_PATH );
|
modules/rostests/winetests/kernel32/path.c |
1152 GetWindowsDirectoryA(windir, sizeof(windir));
1161 GetWindowsDirectoryA(windir, sizeof(windir));
1171 GetWindowsDirectoryA(windir, sizeof(windir));
1177 GetWindowsDirectoryA(windir, sizeof(windir));
1551 static void test_GetWindowsDirectory(void)
1558 res = GetWindowsDirectoryA(NULL, 0);
1565 GetWindowsDirectoryA(NULL, total);
1568 res = GetWindowsDirectoryA(NULL, total-1);
1579 res = GetWindowsDirectoryA(buffer, total);
1587 res = GetWindowsDirectoryA(buffer, total + 1);
1596 res = GetWindowsDirectoryA(buffer, total-1);
1604 res = GetWindowsDirectoryA(buffer, total-2);
1673 ret = GetWindowsDirectoryA(buf, sizeof(buf));
1674 ok(ret, "GetWindowsDirectory error %u\n", GetLastError());
1838 GetWindowsDirectoryA(pathA, sizeof(pathA)/sizeof(CHAR));
1956 GetWindowsDirectoryW(pathW, sizeof(pathW)/sizeof(WCHAR));
1987 GetWindowsDirectoryW(pathW, sizeof(pathW)/sizeof(WCHAR));
2450 test_GetWindowsDirectory();
|
modules/rostests/winetests/kernel32/process.c |
1112 GetWindowsDirectoryA( windir, sizeof(windir) );
|
modules/rostests/winetests/kernel32/profile.c |
864 GetWindowsDirectoryA(windir, MAX_PATH);
1057 GetWindowsDirectoryA(temp, MAX_PATH);
|
modules/rostests/winetests/kernel32/volume.c |
372 result = GetWindowsDirectoryA(windowsdir, sizeof(windowsdir));
374 ok(result != 0, "GetWindowsDirectory: error %d\n", GetLastError());
537 ret = GetWindowsDirectoryA( windowsdir, sizeof(windowsdir) );
539 ok(ret != 0, "GetWindowsDirectory: error %d\n", GetLastError());
|
modules/rostests/winetests/msi/install.c |
2454 if(!GetWindowsDirectoryA(WINDOWS_DIR, MAX_PATH))
|
modules/rostests/winetests/msi/package.c |
4951 GetWindowsDirectoryA(path, MAX_PATH);
|
modules/rostests/winetests/ntdll/file.c |
379 GetWindowsDirectoryW( path, MAX_PATH );
414 len = GetWindowsDirectoryW( path, MAX_PATH );
3374 GetWindowsDirectoryW( path, MAX_PATH );
3427 GetWindowsDirectoryW( path, MAX_PATH );
|
modules/rostests/winetests/ntdll/om.c |
1382 GetWindowsDirectoryA( dir, MAX_PATH );
|
modules/rostests/winetests/scrrun/filesystem.c |
967 GetWindowsDirectoryW(buffW, MAX_PATH);
2353 GetWindowsDirectoryW(pathW, ARRAY_SIZE(pathW));
|
modules/rostests/winetests/setupapi/diskspace.c |
429 GetWindowsDirectoryA(windir, MAX_PATH);
|
modules/rostests/winetests/setupapi/install.c |
396 GetWindowsDirectoryA(windir, MAX_PATH);
754 GetWindowsDirectoryA(expected, MAX_PATH);
|
modules/rostests/winetests/setupapi/misc.c |
94 GetWindowsDirectoryA(check, MAX_PATH);
|
modules/rostests/winetests/setupapi/query.c |
39 GetWindowsDirectoryA(WIN_DIR, MAX_PATH);
|
modules/rostests/winetests/shell32/shelllink.c |
219 GetWindowsDirectoryA( mypath, sizeof(mypath)-12 );
1012 GetWindowsDirectoryA(mypath, sizeof(mypath) - 12);
|
modules/rostests/winetests/shell32/shellpath.c |
1627 * GetWindowsDirectory. If SHGetSpecialFolderPath fails, no harm, no foul--not
1639 GetWindowsDirectoryA(windowsDir, sizeof(windowsDir));
1642 "GetWindowsDirectory returns %s SHGetSpecialFolderPath returns %s\n",
2097 GetWindowsDirectoryW( sWinDir, MAX_PATH );
|
modules/rostests/winetests/shell32/shlfolder.c |
4279 GetWindowsDirectoryW( dirW, MAX_PATH );
|
modules/rostests/winetests/sxs/cache.c |
119 GetWindowsDirectoryA( comctl_path1, MAX_PATH );
121 GetWindowsDirectoryA( comctl_path2, MAX_PATH );
123 GetWindowsDirectoryA( comctl_path3, MAX_PATH );
125 GetWindowsDirectoryA( comctl_path4, MAX_PATH );
|
modules/rostests/winetests/version/install.c |
68 if(!GetWindowsDirectoryA(windir, MAX_PATH))
69 trace("GetWindowsDirectoryA failed\n");
|
modules/rostests/winetests/wintrust/softpub.c |
278 GetWindowsDirectoryA(notepadPath, MAX_PATH);
|
sdk/include/psdk/versionhelpers.h |
153 GetWindowsDirectoryW(szWinDir, _countof(szWinDir));
|
sdk/include/psdk/winbase.h |
2569 UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT);
2570 UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT);
3648 #define GetWindowsDirectory GetWindowsDirectoryW
3857 #define GetWindowsDirectory GetWindowsDirectoryA
|
sdk/include/reactos/wine/winbase16.h |
447 UINT16 WINAPI GetWindowsDirectory16(LPSTR,UINT16);
|
sdk/lib/3rdparty/adns/src/setup.c |
586 GetWindowsDirectory(PathBuf, SECURE_PATH_LEN);
589 GetWindowsDirectory(PathBuf, SECURE_PATH_LEN);
592 GetWindowsDirectory(PathBuf, SECURE_PATH_LEN);
595 GetWindowsDirectory(PathBuf, SECURE_PATH_LEN);
|
win32ss/gdi/gdi32/objects/font.c |
2424 GetWindowsDirectoryW(lpszBuffer, MAX_PATH);
|