netapi32: Why my patch is ignored?

Alexandre Julliard julliard at winehq.org
Mon Dec 1 09:45:22 CST 2008


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.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list