Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e7c40e29
Commit
e7c40e29
authored
Jul 30, 2004
by
Ivan Leo Puoti
Committed by
Alexandre Julliard
Jul 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dll version detection.
parent
ce335add
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
version.c
dlls/ntdll/version.c
+5
-3
No files found.
dlls/ntdll/version.c
View file @
e7c40e29
...
...
@@ -337,9 +337,11 @@ static DWORD VERSION_GetSystemDLLVersion( HMODULE hmod )
MESSAGE
(
"WARNING: very old native DLL (NT 3.x) used, might cause instability.
\n
"
);
return
NT351
;
case
4
:
return
NT40
;
case
5
:
return
NT2K
;
case
6
:
return
WINXP
;
case
7
:
return
WIN2K3
;
/* FIXME: Not sure, should be verified with a Win2K3 dll */
case
5
:
switch
(
RtlImageNtHeader
(
hmod
)
->
OptionalHeader
.
MinorOperatingSystemVersion
){
case
0
:
return
NT2K
;
case
1
:
return
WINXP
;
case
2
:
return
WIN2K3
;
}
default:
FIXME
(
"Unknown DLL OS version, please report !!
\n
"
);
return
WIN2K3
;
...
...
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