imm32: Add stub and header of ImmRequestMessage.
authorByeongSik Jeon <bsjeon@hanmail.net>
Tue, 22 Apr 2008 12:44:22 +0000 (21:44 +0900)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Apr 2008 11:26:45 +0000 (13:26 +0200)
dlls/imm32/imm.c
dlls/imm32/imm32.spec
include/ddk/imm.h
include/imm.h

index c267a70cf9d14b5891416537ae54e9c8a12b47d8..959bb5c3ba6e3194fa5fe18ea3edd7be757c1446 100644 (file)
@@ -1572,6 +1572,26 @@ BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
   return TRUE;
 }
 
+/***********************************************************************
+*              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.@)
  */
index 4e0b0232cdb59362d8aedbca2b024eac65492ec9..058e313ed5c62841370a26b870cdfd13dc0ee1c5 100644 (file)
@@ -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
index ee10b2736162340850fedb5f017e4396fc18cdea..4c3ec45a6dec320c488cf5a9f8eff37567d7c4d2 100644 (file)
@@ -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);
index 1b4cc71eb3eb191e22c473df75c40c98840bb091..57658def7d98382bcfc27b0e03a85681d8d7aeca 100644 (file)
@@ -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 */