mirror of
https://github.com/reactos/wine.git
synced 2025-01-31 17:23:53 +00:00
Fix a regression when loading a real windows registry.
This commit is contained in:
parent
6f6eb82dfc
commit
e3b9bd9747
@ -1370,7 +1370,7 @@ static LPSTR _convert_winnt_registry_to_wine_format(LPCWSTR fn, int level)
|
||||
base = NULL; len = 0;
|
||||
nts = NtMapViewOfSection( hMapping, GetCurrentProcess(),
|
||||
&base, 0, 0, &lg_int, &len, ViewShare, 0,
|
||||
FILE_MAP_READ );
|
||||
PAGE_READONLY);
|
||||
NtClose( hMapping );
|
||||
if (nts != STATUS_SUCCESS) goto error1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user