| commit | 9c58884161729aae445e25e15c28b87837f5cbff | [log] [tgz] |
|---|---|---|
| author | Mike McCormack <mike@codeweavers.com> | Tue Jan 17 13:12:43 2006 +0100 |
| committer | Alexandre Julliard <julliard@winehq.org> | Tue Jan 17 13:12:43 2006 +0100 |
| tree | 8b421a437c8ddab0aa20ee8f7693cdbac1e2d75d | |
| parent | 2f9c9b31ae1d734266726271342da0778414eda2 [diff] |
ntdll: Use FILE_OPEN instead of OPEN_EXISTING when calling NtCreateFile.
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 @@ 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 )