"Oliver Stieber" oliver_stieber@yahoo.co.uk wrote:
MSDN Notes: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/o... If the function fails, the return value is HFILE_ERROR
There's no reference to returning FALSE is OF_EXIST is passed as a parameter.
dlls/kernel/tests/file.c,test_OpenFile_exists() has a test case for it. Please add a failing test there based on the relay trace from the app.