Louis Lenders : msctfmonitor: Add stub for InitLocalMsCtfMonitor.

Alexandre Julliard julliard at winehq.org
Wed Nov 17 16:27:58 CST 2021


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

Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date:   Tue Nov 16 10:48:12 2021 +0100

msctfmonitor: Add stub for InitLocalMsCtfMonitor.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52044
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msctfmonitor/Makefile.in       |  3 +++
 dlls/msctfmonitor/main.c            | 27 +++++++++++++++++++++++++++
 dlls/msctfmonitor/msctfmonitor.spec |  2 +-
 3 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/dlls/msctfmonitor/Makefile.in b/dlls/msctfmonitor/Makefile.in
index 8c21056333f..dd58e9fb0f6 100644
--- a/dlls/msctfmonitor/Makefile.in
+++ b/dlls/msctfmonitor/Makefile.in
@@ -1,3 +1,6 @@
 MODULE    = msctfmonitor.dll
 
 EXTRADLLFLAGS = -Wb,--prefer-native
+
+C_SRCS = \
+	main.c
diff --git a/dlls/msctfmonitor/main.c b/dlls/msctfmonitor/main.c
new file mode 100644
index 00000000000..f609c1a1a25
--- /dev/null
+++ b/dlls/msctfmonitor/main.c
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2021 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
+ */
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(msctfmonitor);
+
+HRESULT WINAPI InitLocalMsCtfMonitor(DWORD flags)
+{
+    FIXME("%d stub!\n", flags);
+    return E_FAIL;
+}
diff --git a/dlls/msctfmonitor/msctfmonitor.spec b/dlls/msctfmonitor/msctfmonitor.spec
index 1922714a4ff..ad4cacb1499 100644
--- a/dlls/msctfmonitor/msctfmonitor.spec
+++ b/dlls/msctfmonitor/msctfmonitor.spec
@@ -3,5 +3,5 @@
 @ stdcall -private DllRegisterServer()
 @ stdcall -private DllUnregisterServer()
 @ stub DoMsCtfMonitor
-@ stub InitLocalMsCtfMonitor
+@ stdcall InitLocalMsCtfMonitor(long)
 @ stub UnInitLocalMsCtfMonitor




More information about the wine-cvs mailing list