Alexandre Julliard : ntdll: Return a proper Information field also when opening a server file object.

Alexandre Julliard julliard at winehq.org
Mon Jan 7 08:39:16 CST 2008


Module: wine
Branch: master
Commit: 44dbb07441202aa0be0ca864984d428dc3d77492
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=44dbb07441202aa0be0ca864984d428dc3d77492

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jan  7 12:17:42 2008 +0100

ntdll: Return a proper Information field also when opening a server file object.

---

 dlls/ntdll/file.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index b9a763f..d4e80ab 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -179,6 +179,7 @@ NTSTATUS WINAPI NtCreateFile( PHANDLE handle, ACCESS_MASK access, POBJECT_ATTRIB
             *handle = reply->handle;
         }
         SERVER_END_REQ;
+        if (io->u.Status == STATUS_SUCCESS) io->Information = FILE_OPENED;
         return io->u.Status;
     }
 




More information about the wine-cvs mailing list