Andrey Turkin : ntoskrnl: Add version resource.

Alexandre Julliard julliard at winehq.org
Mon Jan 12 10:41:04 CST 2009


Module: wine
Branch: master
Commit: a0f681ad4c1626459db14668d5d046bd19b53d18
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a0f681ad4c1626459db14668d5d046bd19b53d18

Author: Andrey Turkin <andrey.turkin at gmail.com>
Date:   Mon Jan 12 03:34:10 2009 +0300

ntoskrnl: Add version resource.

---

 dlls/ntoskrnl.exe/Makefile.in |    2 ++
 dlls/ntoskrnl.exe/ntoskrnl.rc |   27 +++++++++++++++++++++++++++
 tools/wine.inf.in             |    1 +
 3 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/dlls/ntoskrnl.exe/Makefile.in b/dlls/ntoskrnl.exe/Makefile.in
index f7787d8..0dad8c3 100644
--- a/dlls/ntoskrnl.exe/Makefile.in
+++ b/dlls/ntoskrnl.exe/Makefile.in
@@ -9,6 +9,8 @@ IMPORTS   = kernel32 ntdll
 C_SRCS = \
 	ntoskrnl.c
 
+RC_SRCS = ntoskrnl.rc
+
 @MAKE_DLL_RULES@
 
 @DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.rc b/dlls/ntoskrnl.exe/ntoskrnl.rc
new file mode 100644
index 0000000..322dd75
--- /dev/null
+++ b/dlls/ntoskrnl.exe/ntoskrnl.rc
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2009 Andrey Turkin
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WINE_FILENAME_STR "ntoskrnl.exe"
+
+/* Version as of Win XP SP3 */
+#define WINE_FILEVERSION 5,1,2600,5657
+#define WINE_FILEVERSION_STR "5.1.2600.5657"
+#define WINE_PRODUCTVERSION 5,1,2600,5657
+#define WINE_PRODUCTVERSION_STR "5.1.2600.5657"
+
+#include "wine/wine_common_ver.rc"
diff --git a/tools/wine.inf.in b/tools/wine.inf.in
index 5b1d990..dece252 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -2281,6 +2281,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
 11,,msxml3.dll
 11,,notepad.exe
 11,,ntdll.dll
+11,,ntoskrnl.exe
 11,,ole32.dll
 11,,oleaut32.dll
 11,,oledlg.dll




More information about the wine-cvs mailing list