netapi32: Why my patch is ignored?

Vitaly Perov vitperov at etersoft.ru
Mon Dec 1 10:02:05 CST 2008


On Monday 01 December 2008 18:45:22 Alexandre Julliard wrote:
> Vitaly Perov <vitperov at etersoft.ru> writes:
> > +    GetCurrentDirectoryA(MAX_PATH, tmpPath);
> > +    result = SetCurrentDirectoryW(path);
> > +    SetCurrentDirectoryA(tmpPath);
> > +    if (!result) return ERROR_FILE_NOT_FOUND;
>
> This is not the right way to test if a directory exists.

Thank you for your answer. I will fix it.

-- 
Best wishes,
Vitaly Perov
Russia, Saint-Petersburg. www.etersoft.ru



More information about the wine-devel mailing list