/reactos/modules/rostests/winetests/userenv/ |
H A D | userenv.c | 311 WCHAR *dirW; in test_get_user_profile_dir() local 381 dirW = HeapAlloc( GetProcessHeap(), 0, 32 ); in test_get_user_profile_dir() 383 ret = GetUserProfileDirectoryW( token, dirW, NULL ); in test_get_user_profile_dir() 387 HeapFree( GetProcessHeap(), 0, dirW ); in test_get_user_profile_dir() 397 dirW = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, len * sizeof(WCHAR) ); in test_get_user_profile_dir() 399 ret = GetUserProfileDirectoryW( token, dirW, &len ); in test_get_user_profile_dir() 402 ok(lstrlenW( dirW ) == len - 1, "length mismatch %d != %d - 1\n", lstrlenW( dirW ), len ); in test_get_user_profile_dir() 403 HeapFree( GetProcessHeap(), 0, dirW ); in test_get_user_profile_dir()
|
/reactos/modules/rostests/winetests/msvcrt/ |
H A D | dir.c | 92 WCHAR dirW[MAX_PATH]; in test_makepath() local 120 if (p->dir != USE_BUFF) MultiByteToWideChar(CP_ACP, 0, p->dir, -1, dirW, MAX_PATH); in test_makepath() 131 p->dir == USE_BUFF ? bufferW : p->dir ? dirW : NULL, in test_makepath() 221 WCHAR dirW[MAX_PATH]; in test_makepath_s() local 277 if (p->dir != USE_BUFF) MultiByteToWideChar(CP_ACP, 0, p->dir, -1, dirW, MAX_PATH); in test_makepath_s() 288 p->dir == USE_BUFF ? bufferW : p->dir ? dirW : NULL, in test_makepath_s() 320 if (p->dir != USE_BUFF) MultiByteToWideChar(CP_ACP, 0, p->dir, -1, dirW, MAX_PATH); in test_makepath_s() 332 p->dir == USE_BUFF ? bufferW : p->dir ? dirW : NULL, in test_makepath_s()
|
/reactos/dll/win32/setupapi/ |
H A D | dirid.c | 228 UNICODE_STRING dirW; in SetupSetDirectoryIdA() local 244 if (!RtlCreateUnicodeStringFromAsciiz( &dirW, dir )) in SetupSetDirectoryIdA() 249 return store_user_dirid( hinf, id, dirW.Buffer ); in SetupSetDirectoryIdA()
|
/reactos/modules/rostests/winetests/scrrun/ |
H A D | filesystem.c | 1512 get_temp_filepath(testfileW, pathW, dirW); in test_CreateTextFile() 1519 ret = CreateDirectoryW(dirW, NULL); in test_CreateTextFile() 1574 RemoveDirectoryW(dirW); in test_CreateTextFile() 1580 WCHAR pathW[MAX_PATH], dirW[MAX_PATH]; in test_WriteLine() local 1590 get_temp_filepath(testfileW, pathW, dirW); in test_WriteLine() 1592 ret = CreateDirectoryW(dirW, NULL); in test_WriteLine() 1643 RemoveDirectoryW(dirW); in test_WriteLine() 1660 ret = CreateDirectoryW(dirW, NULL); in test_ReadAll() 1772 RemoveDirectoryW(dirW); in test_ReadAll() 1789 ret = CreateDirectoryW(dirW, NULL); in test_Read() [all …]
|
/reactos/modules/rostests/winetests/shell32/ |
H A D | shlfolder.c | 4245 WCHAR dirW[MAX_PATH]; in test_SHParseDisplayName() local 4279 GetWindowsDirectoryW( dirW, MAX_PATH ); in test_SHParseDisplayName() 4281 hr = SHParseDisplayName(dirW, NULL, &pidl1, 0, NULL); in test_SHParseDisplayName() 4283 hr = IShellFolder_ParseDisplayName(desktop, NULL, NULL, dirW, NULL, &pidl2, NULL); in test_SHParseDisplayName() 4296 *dirW = 0; in test_SHParseDisplayName() 4297 len = GetSystemDirectoryW(dirW, MAX_PATH); in test_SHParseDisplayName() 4299 hr = SHParseDisplayName(dirW, NULL, &pidl1, 0, NULL); in test_SHParseDisplayName() 4301 *dirW = 0; in test_SHParseDisplayName() 4302 len = GetSystemWow64DirectoryW(dirW, MAX_PATH); in test_SHParseDisplayName() 4304 hr = SHParseDisplayName(dirW, NULL, &pidl2, 0, NULL); in test_SHParseDisplayName()
|
/reactos/modules/rostests/winetests/kernel32/ |
H A D | file.c | 1806 static const WCHAR dirW[] = {'d','e','l','e','t','e','f','i','l','e',0}; in test_DeleteFileW() local 1825 if (ret + sizeof(dirW)/sizeof(WCHAR)-1 + sizeof(subdirW)/sizeof(WCHAR)-1 >= MAX_PATH) in test_DeleteFileW() 1830 lstrcatW(pathW, dirW); in test_DeleteFileW()
|