Module: wine
Branch: master
Commit: 8a9f817fa814a3ca2cfa62ad03fedb739a888433
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8a9f817fa814a3ca2cfa62ad0…
Author: Detlef Riekenberg <wine.dev(a)web.de>
Date: Tue Jun 19 00:08:28 2007 +0200
ntprint: Add version resource.
---
.gitignore | 1 +
dlls/ntprint/Makefile.in | 2 ++
dlls/ntprint/ntprint.rc | 37 +++++++++++++++++++++++++++++++++++++
3 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index a2e2c37..07e4bd2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -383,6 +383,7 @@ dlls/ntdll/tests/testlist.c
dlls/ntdll/version.res
dlls/ntdsapi/libntdsapi.def
dlls/ntoskrnl.exe/libntoskrnl.exe.def
+dlls/ntprint/ntprint.res
dlls/objsel/objsel.res
dlls/odbc32/libodbc32.def
dlls/odbccp32/libodbccp32.def
diff --git a/dlls/ntprint/Makefile.in b/dlls/ntprint/Makefile.in
index 93fbcf6..b60b06b 100644
--- a/dlls/ntprint/Makefile.in
+++ b/dlls/ntprint/Makefile.in
@@ -8,6 +8,8 @@ IMPORTS = kernel32
C_SRCS = \
ntprint.c
+RC_SRCS = ntprint.rc
+
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/dlls/ntprint/ntprint.rc b/dlls/ntprint/ntprint.rc
new file mode 100644
index 0000000..ca56d3f
--- /dev/null
+++ b/dlls/ntprint/ntprint.rc
@@ -0,0 +1,37 @@
+/*
+ * Top level resource file for ntprint.dll
+ *
+ * Copyright 2007 Detlef Riekenberg
+ *
+ * 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
+ *
+ */
+
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "winver.h"
+
+#define WINE_FILENAME_STR "ntprint.dll"
+#define WINE_FILEDESCRIPTION_STR "Spooler Setup API (Printing)"
+
+/* Same Version as WinXP_sp2 */
+#define WINE_FILEVERSION 5,1,2600,2180
+#define WINE_FILEVERSION_STR "5.1.2600.2180"
+
+#define WINE_PRODUCTVERSION 5,1,2600,2180
+#define WINE_PRODUCTVERSION_STR "5.1.2600.2180"
+
+#include "wine/wine_common_ver.rc"