Mike McCormack : ntdll: Use FILE_OPEN instead of OPEN_EXISTING when
calling NtCreateFile.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jan 17 06:37:10 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 9c58884161729aae445e25e15c28b87837f5cbff
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9c58884161729aae445e25e15c28b87837f5cbff
Author: Mike McCormack <mike at codeweavers.com>
Date: Tue Jan 17 13:12:43 2006 +0100
ntdll: Use FILE_OPEN instead of OPEN_EXISTING when calling NtCreateFile.
---
dlls/ntdll/reg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/reg.c b/dlls/ntdll/reg.c
index d05d9c7..aa5a6ab 100644
--- a/dlls/ntdll/reg.c
+++ b/dlls/ntdll/reg.c
@@ -575,7 +575,7 @@ NTSTATUS WINAPI NtLoadKey( const OBJECT_
TRACE("(%p,%p)\n", attr, file);
ret = NtCreateFile(&hive, GENERIC_READ, file, &io, NULL, FILE_ATTRIBUTE_NORMAL, 0,
- OPEN_EXISTING, 0, NULL, 0);
+ FILE_OPEN, 0, NULL, 0);
if (ret) return ret;
SERVER_START_REQ( load_registry )
More information about the wine-cvs
mailing list