sdbinst: New program

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Apr 16 00:49:39 CDT 2014


Hi,


Changelog:
     sdbinst: New program


Best Regards
  Alistair Leslie-Hughes
-------------- next part --------------
>From ce101e1593b4e4c2a7303fa2d8645e9f5bd8c4ed Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Wed, 16 Apr 2014 13:59:17 +1000
Subject: [PATCH] New program sdbinst
To: wine-patches <wine-patches at winehq.org>

---
 configure                    |  2 ++
 configure.ac                 |  1 +
 programs/sdbinst/Makefile.in |  5 +++++
 programs/sdbinst/main.c      | 33 +++++++++++++++++++++++++++++++++
 4 files changed, 41 insertions(+)
 create mode 100644 programs/sdbinst/Makefile.in
 create mode 100644 programs/sdbinst/main.c

diff --git a/configure b/configure
index 14b8ee5..665bb3f 100755
--- a/configure
+++ b/configure
@@ -1349,6 +1349,7 @@ enable_rpcss
 enable_rundll32
 enable_sc
 enable_schtasks
+enable_sdbinst
 enable_secedit
 enable_servicemodelreg
 enable_services
@@ -17368,6 +17369,7 @@ wine_fn_config_program rundll.exe16 enable_win16 install
 wine_fn_config_program rundll32 enable_rundll32 install
 wine_fn_config_program sc enable_sc install
 wine_fn_config_program schtasks enable_schtasks install
+wine_fn_config_program sdbinst enable_sdbinst install
 wine_fn_config_program secedit enable_secedit install
 wine_fn_config_program servicemodelreg enable_servicemodelreg install
 wine_fn_config_program services enable_services clean,install
diff --git a/configure.ac b/configure.ac
index f6e9fa6..88e69e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3345,6 +3345,7 @@ WINE_CONFIG_PROGRAM(rundll.exe16,enable_win16,[install])
 WINE_CONFIG_PROGRAM(rundll32,,[install])
 WINE_CONFIG_PROGRAM(sc,,[install])
 WINE_CONFIG_PROGRAM(schtasks,,[install])
+WINE_CONFIG_PROGRAM(sdbinst,,[install])
 WINE_CONFIG_PROGRAM(secedit,,[install])
 WINE_CONFIG_PROGRAM(servicemodelreg,,[install])
 WINE_CONFIG_PROGRAM(services,,[clean,install])
diff --git a/programs/sdbinst/Makefile.in b/programs/sdbinst/Makefile.in
new file mode 100644
index 0000000..460dd8f
--- /dev/null
+++ b/programs/sdbinst/Makefile.in
@@ -0,0 +1,5 @@
+MODULE    = sdbinst.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = \
+	main.c
diff --git a/programs/sdbinst/main.c b/programs/sdbinst/main.c
new file mode 100644
index 0000000..ce67660
--- /dev/null
+++ b/programs/sdbinst/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2014 Alistair Leslie-Hughes
+ *
+ * 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 "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(sdbinst);
+
+int wmain(int argc, WCHAR *argv[])
+{
+    int i;
+
+    WINE_FIXME("stub:");
+    for (i = 0; i < argc; i++)
+        WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
+    WINE_FIXME("\n");
+
+    return 0;
+}
-- 
1.8.3.2



More information about the wine-patches mailing list