[Bug 44310] WritePrivateProfileString doesn't check for flush errors

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 11 02:08:08 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=44310

--- Comment #10 from Omega Software <development at winomega.com> ---
That's how it's done in the rest of dlls/kernel32/tests/profile.c. See:

    ret = WritePrivateProfileStringA(NULL, "key", "string", path);
    ok(ret == FALSE, "Expected FALSE, got %d\n", ret);
    ok(GetLastError() == ERROR_FILE_NOT_FOUND ||
--
    ret = WritePrivateProfileStringA(NULL, "key", "string", path);
    ok(ret == FALSE, "Expected FALSE, got %d\n", ret);
    ok(GetLastError() == ERROR_FILE_NOT_FOUND ||
--
    ret = WritePrivateProfileStringA("App", "key", "string", "");
    ok(ret == FALSE, "Expected FALSE, got %d\n", ret);
    ok(GetLastError() == ERROR_ACCESS_DENIED ||

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list