DWORD num = 333;
BOOL ret;
- test_create_file_imp("testxx.exe", crc_test, len);
+ test_create_file_imp(L"testxx.exe", crc_test, len);
ret = pSdbGetFileAttributes(path, &pattrinfo, &num);
winetest_ok(ret != FALSE, "expected SdbGetFileAttributes to succeed.\n");
winetest_ok(pattrinfo != (PATTRINFO)0xdead, "expected a valid pointer.\n");
for (n = 0; n < len; ++n)
crc_test[n] = (char)(fill ? fill : n);
- test_create_file_imp("testxx.exe", crc_test, len);
+ test_create_file_imp(L"testxx.exe", crc_test, len);
free(crc_test);
ret = pSdbGetFileAttributes(path, &pattrinfo, &num);
winetest_ok(ret != FALSE, "expected SdbGetFileAttributes to succeed.\n");
pSdbFreeFileAttributes(pattrinfo);
/* Test a file with as much features as possible */
- test_create_exe("testxx.exe", 0);
+ test_create_exe(L"testxx.exe", 0);
ret = pSdbGetFileAttributes(path, &pattrinfo, &num);
ok(ret != FALSE, "expected SdbGetFileAttributes to succeed.\n");
/* Disable resource and exports */
- test_create_exe("testxx.exe", 1);
+ test_create_exe(L"testxx.exe", 1);
ret = pSdbGetFileAttributes(path, &pattrinfo, &num);
ok(ret != FALSE, "expected SdbGetFileAttributes to succeed.\n");
pSdbFreeFileAttributes(pattrinfo);
/* A file with just 'MZ' */
- test_create_file("testxx.exe", "MZ", 2);
+ test_create_file(L"testxx.exe", "MZ", 2);
ret = pSdbGetFileAttributes(path, &pattrinfo, &num);
ok(ret != FALSE, "expected SdbGetFileAttributes to succeed.\n");
pSdbFreeFileAttributes(pattrinfo);
/* Empty file */
- test_create_file("testxx.exe", NULL, 0);
+ test_create_file(L"testxx.exe", NULL, 0);
ret = pSdbGetFileAttributes(path, &pattrinfo, &num);
ok(ret != FALSE, "expected SdbGetFileAttributes to succeed.\n");
pSdbFreeFileAttributes(pattrinfo);
/* minimal NE executable */
- test_create_ne("testxx.exe", 0);
+ test_create_ne(L"testxx.exe", 0);
ret = pSdbGetFileAttributes(path, &pattrinfo, &num);
ok(ret != FALSE, "expected SdbGetFileAttributes to succeed.\n");
pSdbFreeFileAttributes(pattrinfo);
/* NE executable with description / module name pointers zero, to show they are always used */
- test_create_ne("testxx.exe", 1);
+ test_create_ne(L"testxx.exe", 1);
ret = pSdbGetFileAttributes(path, &pattrinfo, &num);
ok(ret != FALSE, "expected SdbGetFileAttributes to succeed.\n");