Louis Lenders xerox.xerox2000x@gmail.com writes:
+static void test_SHGetSetFolderCustomSettings(void) +{
- HRESULT hr;
- SHFOLDERCUSTOMSETTINGS fcs;
- static const WCHAR pathW[] = {'c',':','\','s','o','m','e','_','d','i','r',0};
- static const WCHAR iconW[] = {'c',':','\','s','o','m','e','_','d','i','r','\','s','o','m','e','_','i','c','o','n','.','i','c','o',0};
You should generate a temporary file name in the TEMP directory. Check how other tests are doing it.
- hr = pSHGetSetFolderCustomSettings(&fcs, NULL, FCS_READ);
- todo_wine ok(hr == E_FAIL, "Expected E_FAIL, got %#x\n", hr);
- RemoveDirectoryW(pathW);
You need to delete the file first.