http://bugs.winehq.com/show_bug.cgi?id=1113
------- Additional Comments From dclark@akamail.com 2002-10-31 13:39 ------- In this case it is a documented feature: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base... Go down near the bottom to the header "Directories", and it says "An application cannot create a directory with CreateFile; it must call CreateDirectory or CreateDirectoryEx to create a directory."
And indeed, running on WinNT, if there is no such directory, this call sets the LastError to ERROR_INVALID_NAME. I have seen another program that expects that and then makes a call to create the directory.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://bugs.winehq.com/show_bug.cgi?id=1113. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.