[PATCH 1/2] dplaysvr: add stub program

Austin English austinenglish at gmail.com
Tue Oct 20 04:02:01 CDT 2020


Signed-off-by: Austin English <austinenglish at gmail.com>
---
 configure.ac                  |  1 +
 programs/dplaysvr/Makefile.in |  8 ++++++++
 programs/dplaysvr/main.c      | 33 +++++++++++++++++++++++++++++++++
 programs/dplaysvr/version.rc  | 26 ++++++++++++++++++++++++++
 4 files changed, 68 insertions(+)
 create mode 100644 programs/dplaysvr/Makefile.in
 create mode 100644 programs/dplaysvr/main.c
 create mode 100644 programs/dplaysvr/version.rc

diff --git a/configure.ac b/configure.ac
index a57697a0ddf..bd7acca29c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3965,6 +3965,7 @@ WINE_CONFIG_MAKEFILE(programs/conhost/tests)
 WINE_CONFIG_MAKEFILE(programs/control)
 WINE_CONFIG_MAKEFILE(programs/cscript)
 WINE_CONFIG_MAKEFILE(programs/dism)
+WINE_CONFIG_MAKEFILE(programs/dplaysvr)
 WINE_CONFIG_MAKEFILE(programs/dpnsvr)
 WINE_CONFIG_MAKEFILE(programs/dxdiag)
 WINE_CONFIG_MAKEFILE(programs/eject)
diff --git a/programs/dplaysvr/Makefile.in b/programs/dplaysvr/Makefile.in
new file mode 100644
index 00000000000..9c8eda44513
--- /dev/null
+++ b/programs/dplaysvr/Makefile.in
@@ -0,0 +1,8 @@
+MODULE    = dplaysvr.exe
+
+EXTRADLLFLAGS = -mwindows -municode -mno-cygwin
+
+C_SRCS = \
+	main.c
+
+RC_SRCS = version.rc
diff --git a/programs/dplaysvr/main.c b/programs/dplaysvr/main.c
new file mode 100644
index 00000000000..1de98684760
--- /dev/null
+++ b/programs/dplaysvr/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2020 Austin English
+ *
+ * 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(dplaysvr);
+
+int __cdecl 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;
+}
diff --git a/programs/dplaysvr/version.rc b/programs/dplaysvr/version.rc
new file mode 100644
index 00000000000..4a84f681116
--- /dev/null
+++ b/programs/dplaysvr/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2020 Austin English
+ *
+ * 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
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine dplaysvr"
+#define WINE_FILENAME_STR "dplaysvr.exe"
+#define WINE_FILEVERSION 5,3,2600,5512
+#define WINE_FILEVERSION_STR "5.3.2600.5512"
+#define WINE_PRODUCTVERSION 5,3,2600,5512
+#define WINE_PRODUCTVERSION_STR "5.3.2600.5512"
+
+#include "wine/wine_common_ver.rc"
-- 
2.28.0




More information about the wine-devel mailing list