Thank you for suggestions. I fixed the problems.
W dniu 05.06.2011 22:26, Vincent Povirk pisze:
/* try to set new path */
hr = IKnownFolder_SetPath(folder, 0, sTempDir);
todo_wine
ok(hr == S_OK, "setting path failed: 0x%08x\n", hr);
I'd suggest making up + registering your own known folder to test this feature, rather than using a standard one. I worry someone could end up with a broken Windows install if we fail to put it back somehow
Testing of registering custom folders is implemented in patch I did not submit yet. I think I will simply move test of setting path to (or after) that patch.