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
3b1a7a7a
Commit
3b1a7a7a
authored
Dec 16, 2004
by
Ivan Leo Puoti
Committed by
Alexandre Julliard
Dec 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better EXE version check in VERSION_GetLinkedDllVersion.
parent
77dd4f5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
version.c
dlls/ntdll/version.c
+21
-0
No files found.
dlls/ntdll/version.c
View file @
3b1a7a7a
...
...
@@ -456,6 +456,27 @@ static DWORD VERSION_GetLinkedDllVersion(void)
return
WIN98
;
}
switch
(
ophd
->
MajorOperatingSystemVersion
)
{
case
5
:
switch
(
ophd
->
MinorOperatingSystemVersion
)
{
case
0
:
return
NT2K
;
case
1
:
return
WINXP
;
case
2
:
return
WIN2K3
;
}
break
;
case
4
:
switch
(
ophd
->
MinorOperatingSystemVersion
)
{
case
90
:
return
WINME
;
case
10
:
return
WIN98
;
case
0
:
return
WIN95
;
/* FIXME: We should check for NT40 here */
}
break
;
}
FIXME
(
"Unknown EXE OS version %d.%d, please report !!
\n
"
,
ophd
->
MajorOperatingSystemVersion
,
ophd
->
MinorOperatingSystemVersion
);
return
WIN98
;
}
...
...
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