Module: wine Branch: master Commit: 44dbb07441202aa0be0ca864984d428dc3d77492 URL: http://source.winehq.org/git/wine.git/?a=commit;h=44dbb07441202aa0be0ca86498...
Author: Alexandre Julliard julliard@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; }