Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
664485ed
Commit
664485ed
authored
Dec 06, 2000
by
James Juran
Committed by
Alexandre Julliard
Dec 06, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return a maximum registry size of 32 MB in NtQuerySystemInformation.
parent
27698b5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
nt.c
dlls/ntdll/nt.c
+21
-2
No files found.
dlls/ntdll/nt.c
View file @
664485ed
...
...
@@ -581,6 +581,7 @@ NTSTATUS WINAPI NtCreateMailslotFile(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x
* 0x12/0x18
* 0x2/0x138
* 0x8/0x600
* 0x25/0xc
* SystemInformation caller supplies storage for the information structure
* Length size of the structure
* ResultLength Data written
...
...
@@ -591,10 +592,28 @@ NTSTATUS WINAPI NtQuerySystemInformation(
IN
ULONG
Length
,
OUT
PULONG
ResultLength
)
{
switch
(
SystemInformationClass
)
{
case
0x25
:
/* Something to do with the size of the registry *
* Since we don't have a size limitation, fake it *
* This is almost certainly wrong. *
* This sets each of the three words in the struct to 32 MB, *
* which is enough to make the IE 5 installer happy. */
FIXME
(
"(0x%08x,%p,0x%08lx,%p) faking max registry size of 32 MB
\n
"
,
SystemInformationClass
,
SystemInformation
,
Length
,
ResultLength
);
*
(
DWORD
*
)
SystemInformation
=
0x2000000
;
*
(((
DWORD
*
)
SystemInformation
)
+
1
)
=
0x200000
;
*
(((
DWORD
*
)
SystemInformation
)
+
2
)
=
0x200000
;
break
;
default:
FIXME
(
"(0x%08x,%p,0x%08lx,%p) stub
\n
"
,
SystemInformationClass
,
SystemInformation
,
Length
,
ResultLength
);
SystemInformationClass
,
SystemInformation
,
Length
,
ResultLength
);
ZeroMemory
(
SystemInformation
,
Length
);
return
0
;
}
return
STATUS_SUCCESS
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment