Module: wine
Branch: master
Commit: 95ea605b10bfcdb6326ba9003b1e911857903479
URL: https://gitlab.winehq.org/wine/wine/-/commit/95ea605b10bfcdb6326ba9003b1e91…
Author: Mohamad Al-Jaf <mohamadaljaf(a)gmail.com>
Date: Sun Jul 2 22:20:02 2023 -0400
pnputil: Add stub program.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55178
---
configure | 2 ++
configure.ac | 1 +
programs/pnputil/Makefile.in | 6 ++++++
programs/pnputil/main.c | 33 +++++++++++++++++++++++++++++++++
4 files changed, 42 insertions(+)
diff --git a/configure b/configure
index d530de3ced1..7d568162159 100755
--- a/configure
+++ b/configure
@@ -1645,6 +1645,7 @@ enable_notepad
enable_oleview
enable_ping
enable_plugplay
+enable_pnputil
enable_powershell
enable_presentationfontcache
enable_progman
@@ -22203,6 +22204,7 @@ wine_fn_config_makefile programs/notepad enable_notepad
wine_fn_config_makefile programs/oleview enable_oleview
wine_fn_config_makefile programs/ping enable_ping
wine_fn_config_makefile programs/plugplay enable_plugplay
+wine_fn_config_makefile programs/pnputil enable_pnputil
wine_fn_config_makefile programs/powershell enable_powershell
wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
wine_fn_config_makefile programs/progman enable_progman
diff --git a/configure.ac b/configure.ac
index 90c95c89ffb..3ab6d787d61 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3378,6 +3378,7 @@ WINE_CONFIG_MAKEFILE(programs/notepad)
WINE_CONFIG_MAKEFILE(programs/oleview)
WINE_CONFIG_MAKEFILE(programs/ping)
WINE_CONFIG_MAKEFILE(programs/plugplay)
+WINE_CONFIG_MAKEFILE(programs/pnputil)
WINE_CONFIG_MAKEFILE(programs/powershell)
WINE_CONFIG_MAKEFILE(programs/presentationfontcache)
WINE_CONFIG_MAKEFILE(programs/progman)
diff --git a/programs/pnputil/Makefile.in b/programs/pnputil/Makefile.in
new file mode 100644
index 00000000000..aa22d9b6ce8
--- /dev/null
+++ b/programs/pnputil/Makefile.in
@@ -0,0 +1,6 @@
+MODULE = pnputil.exe
+
+EXTRADLLFLAGS = -mconsole -municode
+
+C_SRCS = \
+ main.c
diff --git a/programs/pnputil/main.c b/programs/pnputil/main.c
new file mode 100644
index 00000000000..b955b97a8c2
--- /dev/null
+++ b/programs/pnputil/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2023 Mohamad Al-Jaf
+ *
+ * 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(pnputil);
+
+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;
+}