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
24ba89c5
Commit
24ba89c5
authored
Apr 13, 2011
by
Austin English
Committed by
Alexandre Julliard
Apr 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add support for win2k8r2.
parent
5d9223cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
15 deletions
+25
-15
version.c
dlls/ntdll/version.c
+10
-1
appdefaults.c
programs/winecfg/appdefaults.c
+15
-14
No files found.
dlls/ntdll/version.c
View file @
24ba89c5
...
...
@@ -53,6 +53,7 @@ typedef enum
WIN2K3
,
/* Windows 2003 */
WINVISTA
,
/* Windows Vista */
WIN2K8
,
/* Windows 2008 */
WIN2K8R2
,
/* Windows 2008 R2 */
WIN7
,
/* Windows 7 */
NB_WINDOWS_VERSIONS
}
WINDOWS_VERSION
;
...
...
@@ -155,7 +156,14 @@ static const RTL_OSVERSIONINFOEXW VersionData[NB_WINDOWS_VERSIONS] =
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
1
,
0x1DB1
,
VER_PLATFORM_WIN32_NT
,
{
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
' '
,
'P'
,
'a'
,
'c'
,
'k'
,
' '
,
'1'
,
0
},
1
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_WORKSTATION
,
0
}
},
/* WIN2K8 */
{
sizeof
(
RTL_OSVERSIONINFOEXW
),
6
,
1
,
0x1DB1
,
VER_PLATFORM_WIN32_NT
,
{
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
' '
,
'P'
,
'a'
,
'c'
,
'k'
,
' '
,
'1'
,
0
},
1
,
0
,
VER_SUITE_SINGLEUSERTS
,
VER_NT_SERVER
,
0
},
};
static
const
char
*
const
WinVersionNames
[
NB_WINDOWS_VERSIONS
]
=
...
...
@@ -173,6 +181,7 @@ static const char * const WinVersionNames[NB_WINDOWS_VERSIONS] =
"win2003,win2k3"
,
/* WIN2K3 */
"vista,winvista"
,
/* WINVISTA*/
"win2008,win2k8"
,
/* WIN2K8 */
"win2008r2,win2k8r2"
,
/* WIN2K8R2 */
"win7"
,
/* WIN7 */
};
...
...
programs/winecfg/appdefaults.c
View file @
24ba89c5
...
...
@@ -49,20 +49,21 @@ static const struct
const
char
*
szProductType
;
}
win_versions
[]
=
{
{
"win7"
,
"Windows 7"
,
6
,
1
,
0x1DB1
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 1"
,
1
,
0
,
"WinNT"
},
{
"win2008"
,
"Windows 2008"
,
6
,
0
,
0x1771
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 1"
,
0
,
0
,
"ServerNT"
},
{
"vista"
,
"Windows Vista"
,
6
,
0
,
0x1772
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 2"
,
2
,
0
,
"WinNT"
},
{
"win2003"
,
"Windows 2003"
,
5
,
2
,
0xECE
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 2"
,
2
,
0
,
"ServerNT"
},
{
"winxp"
,
"Windows XP"
,
5
,
1
,
0xA28
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 3"
,
3
,
0
,
"WinNT"
},
{
"win2k"
,
"Windows 2000"
,
5
,
0
,
0x893
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 4"
,
4
,
0
,
"WinNT"
},
{
"winme"
,
"Windows ME"
,
4
,
90
,
0xBB8
,
VER_PLATFORM_WIN32_WINDOWS
,
" "
,
0
,
0
,
""
},
{
"win98"
,
"Windows 98"
,
4
,
10
,
0x8AE
,
VER_PLATFORM_WIN32_WINDOWS
,
" A "
,
0
,
0
,
""
},
{
"win95"
,
"Windows 95"
,
4
,
0
,
0x3B6
,
VER_PLATFORM_WIN32_WINDOWS
,
""
,
0
,
0
,
""
},
{
"nt40"
,
"Windows NT 4.0"
,
4
,
0
,
0x565
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 6a"
,
6
,
0
,
"WinNT"
},
{
"nt351"
,
"Windows NT 3.5"
,
3
,
51
,
0x421
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 2"
,
0
,
0
,
"WinNT"
},
{
"win31"
,
"Windows 3.1"
,
2
,
10
,
0
,
VER_PLATFORM_WIN32s
,
"Win32s 1.3"
,
0
,
0
,
""
},
{
"win30"
,
"Windows 3.0"
,
3
,
0
,
0
,
VER_PLATFORM_WIN32s
,
"Win32s 1.3"
,
0
,
0
,
""
},
{
"win20"
,
"Windows 2.0"
,
2
,
0
,
0
,
VER_PLATFORM_WIN32s
,
"Win32s 1.3"
,
0
,
0
,
""
}
{
"win2008r2"
,
"Windows 2008 R2"
,
6
,
1
,
0x1DB1
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 1"
,
1
,
0
,
"ServerNT"
},
{
"win7"
,
"Windows 7"
,
6
,
1
,
0x1DB1
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 1"
,
1
,
0
,
"WinNT"
},
{
"win2008"
,
"Windows 2008"
,
6
,
0
,
0x1771
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 1"
,
0
,
0
,
"ServerNT"
},
{
"vista"
,
"Windows Vista"
,
6
,
0
,
0x1772
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 2"
,
2
,
0
,
"WinNT"
},
{
"win2003"
,
"Windows 2003"
,
5
,
2
,
0xECE
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 2"
,
2
,
0
,
"ServerNT"
},
{
"winxp"
,
"Windows XP"
,
5
,
1
,
0xA28
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 3"
,
3
,
0
,
"WinNT"
},
{
"win2k"
,
"Windows 2000"
,
5
,
0
,
0x893
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 4"
,
4
,
0
,
"WinNT"
},
{
"winme"
,
"Windows ME"
,
4
,
90
,
0xBB8
,
VER_PLATFORM_WIN32_WINDOWS
,
" "
,
0
,
0
,
""
},
{
"win98"
,
"Windows 98"
,
4
,
10
,
0x8AE
,
VER_PLATFORM_WIN32_WINDOWS
,
" A "
,
0
,
0
,
""
},
{
"win95"
,
"Windows 95"
,
4
,
0
,
0x3B6
,
VER_PLATFORM_WIN32_WINDOWS
,
""
,
0
,
0
,
""
},
{
"nt40"
,
"Windows NT 4.0"
,
4
,
0
,
0x565
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 6a"
,
6
,
0
,
"WinNT"
},
{
"nt351"
,
"Windows NT 3.5"
,
3
,
51
,
0x421
,
VER_PLATFORM_WIN32_NT
,
"Service Pack 2"
,
0
,
0
,
"WinNT"
},
{
"win31"
,
"Windows 3.1"
,
2
,
10
,
0
,
VER_PLATFORM_WIN32s
,
"Win32s 1.3"
,
0
,
0
,
""
},
{
"win30"
,
"Windows 3.0"
,
3
,
0
,
0
,
VER_PLATFORM_WIN32s
,
"Win32s 1.3"
,
0
,
0
,
""
},
{
"win20"
,
"Windows 2.0"
,
2
,
0
,
0
,
VER_PLATFORM_WIN32s
,
"Win32s 1.3"
,
0
,
0
,
""
}
};
#define NB_VERSIONS (sizeof(win_versions)/sizeof(win_versions[0]))
...
...
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