Skip to content
Snippets Groups Projects
Commit e3b9bd97 authored by Maxime Bellengé's avatar Maxime Bellengé Committed by Alexandre Julliard
Browse files

Fix a regression when loading a real windows registry.

parent 6f6eb82d
No related branches found
No related tags found
No related merge requests found
...@@ -1370,7 +1370,7 @@ static LPSTR _convert_winnt_registry_to_wine_format(LPCWSTR fn, int level) ...@@ -1370,7 +1370,7 @@ static LPSTR _convert_winnt_registry_to_wine_format(LPCWSTR fn, int level)
base = NULL; len = 0; base = NULL; len = 0;
nts = NtMapViewOfSection( hMapping, GetCurrentProcess(), nts = NtMapViewOfSection( hMapping, GetCurrentProcess(),
&base, 0, 0, &lg_int, &len, ViewShare, 0, &base, 0, 0, &lg_int, &len, ViewShare, 0,
FILE_MAP_READ ); PAGE_READONLY);
NtClose( hMapping ); NtClose( hMapping );
if (nts != STATUS_SUCCESS) goto error1; if (nts != STATUS_SUCCESS) goto error1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment