[PATCH] pwrshplugin: add new stub dll

Louis Lenders xerox.xerox2000x at gmail.com
Tue Jun 9 07:49:58 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49351


Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
 configure                         |  2 ++
 configure.ac                      |  1 +
 dlls/pwrshplugin/Makefile.in      |  5 +++++
 dlls/pwrshplugin/pwrshplugin.spec | 12 ++++++++++++
 dlls/pwrshplugin/version.rc       | 26 ++++++++++++++++++++++++++
 5 files changed, 46 insertions(+)
 create mode 100644 dlls/pwrshplugin/Makefile.in
 create mode 100644 dlls/pwrshplugin/pwrshplugin.spec
 create mode 100644 dlls/pwrshplugin/version.rc

diff --git a/configure b/configure
index 44f8e7b9db..e58ac071ad 100755
--- a/configure
+++ b/configure
@@ -1531,6 +1531,7 @@ enable_prntvpt
 enable_propsys
 enable_psapi
 enable_pstorec
+enable_pwrshplugin
 enable_qasf
 enable_qcap
 enable_qdvd
@@ -21034,6 +21035,7 @@ wine_fn_config_makefile dlls/psapi enable_psapi
 wine_fn_config_makefile dlls/psapi/tests enable_tests
 wine_fn_config_makefile dlls/pstorec enable_pstorec
 wine_fn_config_makefile dlls/pstorec/tests enable_tests
+wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
 wine_fn_config_makefile dlls/qasf enable_qasf
 wine_fn_config_makefile dlls/qasf/tests enable_tests
 wine_fn_config_makefile dlls/qcap enable_qcap
diff --git a/configure.ac b/configure.ac
index e61a98455c..4b8f872f2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3622,6 +3622,7 @@ WINE_CONFIG_MAKEFILE(dlls/psapi)
 WINE_CONFIG_MAKEFILE(dlls/psapi/tests)
 WINE_CONFIG_MAKEFILE(dlls/pstorec)
 WINE_CONFIG_MAKEFILE(dlls/pstorec/tests)
+WINE_CONFIG_MAKEFILE(dlls/pwrshplugin)
 WINE_CONFIG_MAKEFILE(dlls/qasf)
 WINE_CONFIG_MAKEFILE(dlls/qasf/tests)
 WINE_CONFIG_MAKEFILE(dlls/qcap)
diff --git a/dlls/pwrshplugin/Makefile.in b/dlls/pwrshplugin/Makefile.in
new file mode 100644
index 0000000000..03138ab166
--- /dev/null
+++ b/dlls/pwrshplugin/Makefile.in
@@ -0,0 +1,5 @@
+MODULE    = pwrshplugin.dll
+
+EXTRADLLFLAGS = -mno-cygwin
+
+RC_SRCS = version.rc
diff --git a/dlls/pwrshplugin/pwrshplugin.spec b/dlls/pwrshplugin/pwrshplugin.spec
new file mode 100644
index 0000000000..fe9b51180c
--- /dev/null
+++ b/dlls/pwrshplugin/pwrshplugin.spec
@@ -0,0 +1,12 @@
+@ stub GetCLRVersionForPSVersion
+@ stub PerformWSManPluginReportCompletion
+@ stub WSManPluginCommand
+@ stub WSManPluginConnect
+@ stub WSManPluginReceive
+@ stub WSManPluginReleaseCommandContext
+@ stub WSManPluginReleaseShellContext
+@ stub WSManPluginSend
+@ stub WSManPluginShell
+@ stub WSManPluginShutdown
+@ stub WSManPluginSignal
+@ stub WSManPluginStartup
\ No newline at end of file
diff --git a/dlls/pwrshplugin/version.rc b/dlls/pwrshplugin/version.rc
new file mode 100644
index 0000000000..f3ea96f3cc
--- /dev/null
+++ b/dlls/pwrshplugin/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2020 Louis Lenders
+ *
+ * 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 powershell plugin"
+#define WINE_FILENAME_STR "pwrshplugin.dll"
+#define WINE_FILEVERSION 6,3,9600,16384
+#define WINE_FILEVERSION_STR "6.3.9600.16384"
+#define WINE_PRODUCTVERSION 6,3,9600,16384
+#define WINE_PRODUCTVERSION_STR "6.3.9600.16384"
+
+#include "wine/wine_common_ver.rc"
-- 
2.27.0




More information about the wine-devel mailing list