[Bug 2508] CreateFile(directory_name,GENERIC_WRITE,...) returns STATUS_FILE_IS_A_DIRECTORY

Wine Bugs wine-bugs at winehq.org
Mon Oct 11 03:20:26 CDT 2004


http://bugs.winehq.org/show_bug.cgi?id=2508





------- Additional Comments From andi at rhlx01.fht-esslingen.de  2004-11-10 03:20 -------
Yup,

[andi at note include]$ grep -i c00000ba *.h
ntstatus.h:#define STATUS_FILE_IS_A_DIRECTORY       0xC00000BA

this also shows that it complains about creating a directory, which is invalid.

So this call

000b:Call kernel32.CreateFileW(10415fc0
L"Z:\\home\\vengeance\\Server\\Program\\Bin\\",40000000,00000007,00000000,00000003,02000000,00000000)
ret=1015b46d

is very obviously wrong, i.e. it is missing the filename part (which is even
more obvious since it actually contains a trailing \\, too!).
Check for string operations (or other function calls!) on the 10415fc0 string
before that call, something there is incorrect!

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list