ByeongSik Jeon : imm32: Add stub and header of ImmRequestMessage.
Alexandre Julliard
julliard at winehq.org
Wed Apr 23 07:59:43 CDT 2008
Module: wine
Branch: master
Commit: f9316b187782fd5d9d36033beaaa80b4b33e6519
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f9316b187782fd5d9d36033beaaa80b4b33e6519
Author: ByeongSik Jeon <bsjeon at hanmail.net>
Date: Tue Apr 22 21:44:22 2008 +0900
imm32: Add stub and header of ImmRequestMessage.
---
dlls/imm32/imm.c | 20 ++++++++++++++++++++
dlls/imm32/imm32.spec | 4 ++--
include/ddk/imm.h | 3 +++
include/imm.h | 2 ++
4 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/dlls/imm32/imm.c b/dlls/imm32/imm.c
index c267a70..959bb5c 100644
--- a/dlls/imm32/imm.c
+++ b/dlls/imm32/imm.c
@@ -1573,6 +1573,26 @@ BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
}
/***********************************************************************
+* ImmRequestMessageA(IMM32.@)
+*/
+LRESULT WINAPI ImmRequestMessageA(HIMC hIMC, WPARAM wParam, LPARAM lParam)
+{
+ FIXME("(%p %ld %ld): stub\n", hIMC, wParam, wParam);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return 0;
+}
+
+/***********************************************************************
+* ImmRequestMessageW(IMM32.@)
+*/
+LRESULT WINAPI ImmRequestMessageW(HIMC hIMC, WPARAM wParam, LPARAM lParam)
+{
+ FIXME("(%p %ld %ld): stub\n", hIMC, wParam, wParam);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return 0;
+}
+
+/***********************************************************************
* ImmSetCandidateWindow (IMM32.@)
*/
BOOL WINAPI ImmSetCandidateWindow(
diff --git a/dlls/imm32/imm32.spec b/dlls/imm32/imm32.spec
index 4e0b023..058e313 100644
--- a/dlls/imm32/imm32.spec
+++ b/dlls/imm32/imm32.spec
@@ -79,8 +79,8 @@
@ stdcall ImmRegisterWordA(long str long str)
@ stdcall ImmRegisterWordW(long wstr long wstr)
@ stdcall ImmReleaseContext(long long)
-@ stub ImmRequestMessageA
-@ stub ImmRequestMessageW
+@ stdcall ImmRequestMessageA(ptr long long)
+@ stdcall ImmRequestMessageW(ptr long long)
@ stub ImmSendIMEMessageExA
@ stub ImmSendIMEMessageExW
@ stub ImmSendMessageToActiveDefImeWndW
diff --git a/include/ddk/imm.h b/include/ddk/imm.h
index ee10b27..4c3ec45 100644
--- a/include/ddk/imm.h
+++ b/include/ddk/imm.h
@@ -141,6 +141,9 @@ DWORD WINAPI ImmGetIMCCSize(HIMCC);
#define NI_IMEMENUSELECTED 0x0018
BOOL WINAPI ImmGenerateMessage(HIMC);
+LRESULT WINAPI ImmRequestMessageA(HIMC, WPARAM, LPARAM);
+LRESULT WINAPI ImmRequestMessageW(HIMC, WPARAM, LPARAM);
+#define ImmRequestMessage WINELIB_NAME_AW(ImmRequestMessage);
BOOL WINAPI ImeInquire(LPIMEINFO, LPWSTR, LPCWSTR lpszOptions);
BOOL WINAPI ImeConfigure (HKL, HWND, DWORD, LPVOID);
diff --git a/include/imm.h b/include/imm.h
index 1b4cc71..57658de 100644
--- a/include/imm.h
+++ b/include/imm.h
@@ -394,6 +394,8 @@ typedef struct _tagCOMPOSITIONFORM
#define IMR_COMPOSITIONFONT 0x0003
#define IMR_RECONVERTSTRING 0x0004
#define IMR_CONFIRMRECONVERTSTRING 0x0005
+#define IMR_QUERYCHARPOSITION 0x0006
+#define IMR_DOCUMENTFEED 0x0007
/* error code of ImmGetCompositionString */
More information about the wine-cvs
mailing list