Alistair Leslie-Hughes : dpnsvr.exe: New stub program.

Alexandre Julliard julliard at winehq.org
Tue Feb 18 14:11:03 CST 2014


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Fri Feb  7 10:24:06 2014 +1100

dpnsvr.exe: New stub program.

---

 configure                   |    2 ++
 configure.ac                |    1 +
 programs/dpnsvr/Makefile.in |    5 +++++
 programs/dpnsvr/main.c      |   33 +++++++++++++++++++++++++++++++++
 4 files changed, 41 insertions(+)

diff --git a/configure b/configure
index 00c4420..9ba1adb 100755
--- a/configure
+++ b/configure
@@ -1308,6 +1308,7 @@ enable_cmd
 enable_conhost
 enable_control
 enable_cscript
+enable_dpnsvr
 enable_dxdiag
 enable_eject
 enable_expand
@@ -17284,6 +17285,7 @@ wine_fn_config_test programs/cmd/tests cmd.exe_test
 wine_fn_config_program conhost enable_conhost install
 wine_fn_config_program control enable_control install
 wine_fn_config_program cscript enable_cscript install
+wine_fn_config_program dpnsvr enable_dpnsvr install
 wine_fn_config_program dxdiag enable_dxdiag install,po
 wine_fn_config_program eject enable_eject install
 wine_fn_config_program expand enable_expand install
diff --git a/configure.ac b/configure.ac
index 9811873..224b8c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3293,6 +3293,7 @@ WINE_CONFIG_TEST(programs/cmd/tests)
 WINE_CONFIG_PROGRAM(conhost,,[install])
 WINE_CONFIG_PROGRAM(control,,[install])
 WINE_CONFIG_PROGRAM(cscript,,[install])
+WINE_CONFIG_PROGRAM(dpnsvr,,[install])
 WINE_CONFIG_PROGRAM(dxdiag,,[install,po])
 WINE_CONFIG_PROGRAM(eject,,[install])
 WINE_CONFIG_PROGRAM(expand,,[install])
diff --git a/programs/dpnsvr/Makefile.in b/programs/dpnsvr/Makefile.in
new file mode 100644
index 0000000..1dac8a4
--- /dev/null
+++ b/programs/dpnsvr/Makefile.in
@@ -0,0 +1,5 @@
+MODULE    = dpnsvr.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = \
+	main.c
diff --git a/programs/dpnsvr/main.c b/programs/dpnsvr/main.c
new file mode 100644
index 0000000..6041cbc
--- /dev/null
+++ b/programs/dpnsvr/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(dpnsvr);
+
+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;
+}




More information about the wine-cvs mailing list