https://bugs.winehq.org/show_bug.cgi?id=41395 Bug ID: 41395 Summary: CreateFile returns a wrong LastError Code when you pass an invalid path Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: Christoph(a)ApiViewer.de Distribution: --- CreateFile returns a wrong LastError Code when you pass an invalid path. Testcase: CreateFileA("C:C:\\Windows", GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); todo_wine ok( GetLastError() == ERROR_INVALID_NAME, "Wrong LastError %d, expected ERROR_INVALID_NAME\n", GetLastError() ); Which also means the code in cryptnet_main:1025 to line 1048 must be wrong. -- 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.