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
2ab7c87c
Commit
2ab7c87c
authored
Aug 13, 2003
by
Vincent Béron
Committed by
Alexandre Julliard
Aug 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Windows 2003 to the versions Wine can return.
parent
0a26343b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
version.c
misc/version.c
+16
-2
No files found.
misc/version.c
View file @
2ab7c87c
...
@@ -53,6 +53,7 @@ typedef enum
...
@@ -53,6 +53,7 @@ typedef enum
NT40
,
/* Windows NT 4.0 */
NT40
,
/* Windows NT 4.0 */
NT2K
,
/* Windows 2000 */
NT2K
,
/* Windows 2000 */
WINXP
,
/* Windows XP */
WINXP
,
/* Windows XP */
WIN2K3
,
/* Windows 2003 */
NB_WINDOWS_VERSIONS
NB_WINDOWS_VERSIONS
}
WINDOWS_VERSION
;
}
WINDOWS_VERSION
;
...
@@ -193,6 +194,17 @@ static VERSION_DATA VersionData[NB_WINDOWS_VERSIONS] =
...
@@ -193,6 +194,17 @@ static VERSION_DATA VersionData[NB_WINDOWS_VERSIONS] =
VER_PLATFORM_WIN32_NT
,
"Service Pack 1"
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 1"
,
1
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
30
/* FIXME: Great, a reserved field with a value! */
1
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
30
/* FIXME: Great, a reserved field with a value! */
}
}
},
/* WIN2K3 */
{
"Windows 2003"
,
0x05005F03
,
/* Assuming DOS 5 like the other NT */
0x0ECE0205
,
{
sizeof
(
OSVERSIONINFOA
),
5
,
2
,
0xECE
,
VER_PLATFORM_WIN32_NT
,
""
,
0
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_SERVER
,
0
}
}
}
};
};
...
@@ -207,7 +219,8 @@ static const char *WinVersionNames[NB_WINDOWS_VERSIONS] =
...
@@ -207,7 +219,8 @@ static const char *WinVersionNames[NB_WINDOWS_VERSIONS] =
"nt351"
,
"nt351"
,
"nt40"
,
"nt40"
,
"win2000,win2k,nt2k,nt2000"
,
"win2000,win2k,nt2k,nt2000"
,
"winxp"
"winxp"
,
"win2003,win2k3"
};
};
/* if one of the following dlls is importing ntdll the windows
/* if one of the following dlls is importing ntdll the windows
...
@@ -427,9 +440,10 @@ static DWORD VERSION_GetSystemDLLVersion( HMODULE hmod )
...
@@ -427,9 +440,10 @@ static DWORD VERSION_GetSystemDLLVersion( HMODULE hmod )
case
4
:
return
NT40
;
case
4
:
return
NT40
;
case
5
:
return
NT2K
;
case
5
:
return
NT2K
;
case
6
:
return
WINXP
;
case
6
:
return
WINXP
;
case
7
:
return
WIN2K3
;
/* FIXME: Not sure, should be verified with a Win2K3 dll */
default:
default:
FIXME
(
"Unknown DLL OS version, please report !!
\n
"
);
FIXME
(
"Unknown DLL OS version, please report !!
\n
"
);
return
WIN
XP
;
return
WIN
2K3
;
}
}
}
}
}
}
...
...
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