[PATCH] mprapi: Add stub for MprConfigServerConnect().
Paul Gofman
pgofman at codeweavers.com
Thu Mar 4 06:35:42 CST 2021
Fixes ARK Park start failure.
Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
dlls/mprapi/mprapi.c | 12 ++++++++++++
dlls/mprapi/mprapi.spec | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/dlls/mprapi/mprapi.c b/dlls/mprapi/mprapi.c
index cfb4259b339..b3d641fe108 100644
--- a/dlls/mprapi/mprapi.c
+++ b/dlls/mprapi/mprapi.c
@@ -60,3 +60,15 @@ BOOL APIENTRY MprAdminIsServiceRunning(LPWSTR server)
return FALSE;
}
+
+/***********************************************************************
+ * MprConfigServerConnect (MPRAPI.@)
+ */
+DWORD APIENTRY MprConfigServerConnect(LPWSTR server_name, HANDLE *hmprconfig)
+{
+ FIXME("server_name %s, hmprconfig %p stub.\n", debugstr_w(server_name), hmprconfig);
+
+ *hmprconfig = NULL;
+
+ return ERROR_NOT_SUPPORTED;
+}
diff --git a/dlls/mprapi/mprapi.spec b/dlls/mprapi/mprapi.spec
index 4b5937b8806..21d39841db5 100644
--- a/dlls/mprapi/mprapi.spec
+++ b/dlls/mprapi/mprapi.spec
@@ -82,7 +82,7 @@
@ stub MprConfigInterfaceTransportRemove
@ stub MprConfigInterfaceTransportSetInfo
@ stub MprConfigServerBackup
-@ stub MprConfigServerConnect
+@ stdcall MprConfigServerConnect(wstr ptr)
@ stub MprConfigServerDisconnect
@ stub MprConfigServerGetInfo
@ stub MprConfigServerInstall
--
2.29.2
More information about the wine-devel
mailing list