[PATCH 2/2] msctfmonitor: Add stub for InitLocalMsCtfMonitor.

Louis Lenders xerox.xerox2000x at gmail.com
Tue Nov 16 03:48:12 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52044
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
 dlls/msctfmonitor/Makefile.in       |  3 +++
 dlls/msctfmonitor/main.c            | 27 +++++++++++++++++++++++++++
 dlls/msctfmonitor/msctfmonitor.spec |  2 +-
 3 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 dlls/msctfmonitor/main.c

diff --git a/dlls/msctfmonitor/Makefile.in b/dlls/msctfmonitor/Makefile.in
index 04422ffc5e5..f146b31d51a 100644
--- a/dlls/msctfmonitor/Makefile.in
+++ b/dlls/msctfmonitor/Makefile.in
@@ -2,3 +2,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..1a76c1282c9
--- /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;
+}
\ No newline at end of file
diff --git a/dlls/msctfmonitor/msctfmonitor.spec b/dlls/msctfmonitor/msctfmonitor.spec
index ce74566eaa8..5902cfbe4e9 100644
--- a/dlls/msctfmonitor/msctfmonitor.spec
+++ b/dlls/msctfmonitor/msctfmonitor.spec
@@ -3,5 +3,5 @@
 @ stub DllRegisterServer
 @ stub DllUnregisterServer
 @ stub DoMsCtfMonitor
-@ stub InitLocalMsCtfMonitor
+@ stdcall InitLocalMsCtfMonitor(long)
 @ stub UnInitLocalMsCtfMonitor
\ No newline at end of file
-- 
2.33.1




More information about the wine-devel mailing list