ntprint: [2/2] Add version resource

Detlef Riekenberg wine.dev at web.de
Mon Jun 18 17:19:25 CDT 2007


Changelog:
ntprint: Add version resource


-- 
 
By by ... Detlef

-------------- next part --------------
>From 5754dd33ebe2e74020f790c1eb1889fa94b4b431 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Tue, 19 Jun 2007 00:08:28 +0200
Subject: [PATCH] ntprint: Add version resource
---
 dlls/ntprint/Makefile.in |    2 ++
 dlls/ntprint/ntprint.rc  |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 0 deletions(-)

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..68e487b
--- /dev/null
+++ b/dlls/ntprint/ntprint.rc
@@ -0,0 +1,39 @@
+/*
+ * 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"
+
+
-- 
1.4.1



More information about the wine-patches mailing list