It appears Wine's SHCreateDirectoryEx is the same as Windows XP in the way that matters to me: both return ERROR_ALREADY_EXISTS whether the thing that already exists is a file or a directory. I haven't found a situation where either version returns ERROR_FILE_EXISTS.
On 9/2/07, Dmitry Timoshkov dmitry@codeweavers.com wrote:
"Vincent Povirk" madewokherd+d41d@gmail.com wrote:
Well, I COULD do that if SHCreateDirectoryExW worked the way the Wine API docs claim. It seems to be returning ERROR_ALREADY_EXISTS even when the thing that already exists is a file and not a directory.
Then it needs a separate test case and a fix.
-- Dmitry.