Paul Gofman : mprapi: Add stub for MprConfigServerConnect().

Alexandre Julliard julliard at winehq.org
Thu Mar 4 15:53:36 CST 2021


Module: wine
Branch: master
Commit: 2cb4bdb10abcfd751d4d1b2ca7780c778166608a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2cb4bdb10abcfd751d4d1b2ca7780c778166608a

Author: Paul Gofman <pgofman at codeweavers.com>
Date:   Thu Mar  4 15:35:42 2021 +0300

mprapi: Add stub for MprConfigServerConnect().

Fixes ARK Park start failure.

Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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




More information about the wine-cvs mailing list