localspl: Add version resource

Detlef Riekenberg wine.dev at web.de
Sat Oct 21 11:45:01 CDT 2006


EnumPorts returns localized strings, so start with the resources


Changelog:
- localspl: Add version resource



-- 
 
By by ... Detlef

-------------- next part --------------
>From ae371adc754d589a0cc502ae6906cf924b6ff4f2 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Sat, 21 Oct 2006 18:07:13 +0200
Subject: [PATCH] localspl: Add version resource
---
 dlls/localspl/Makefile.in |    2 ++
 dlls/localspl/localspl.rc |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/dlls/localspl/Makefile.in b/dlls/localspl/Makefile.in
index 0e74179..1e468b9 100644
--- a/dlls/localspl/Makefile.in
+++ b/dlls/localspl/Makefile.in
@@ -9,6 +9,8 @@ C_SRCS = \
 	localmon.c \
 	localspl_main.c
 
+RC_SRCS = localspl.rc
+
 @MAKE_DLL_RULES@
 
 @DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/localspl/localspl.rc b/dlls/localspl/localspl.rc
new file mode 100644
index 0000000..d58660c
--- /dev/null
+++ b/dlls/localspl/localspl.rc
@@ -0,0 +1,37 @@
+/*
+ * Top level resource file for localspl
+ *
+ * Copyright 2006 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 "winver.h"
+
+#define WINE_FILENAME_STR "localspl.dll"
+#define WINE_FILEDESCRIPTION_STR "Wine Printer spooler component"
+
+/* 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