mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:33:07 +00:00
[IMM32] ImmGenerateMessage and ImmTranslateMessage (#3914)
- Rewrite `ImmGenerateMessage` and `ImmTranslateMessage` functions. - Rename `INPUTCONTEXTDX.bHasVKey` as `bNeedsTrans`. - Move `TRANSMSG` structure into `ntuser.h`. - Add `TRANSMSGLIST` structure into `ntuser.h`. - Add `UNDETERMINESTRUCT` structure to `ddk/imm.h`. - Modify `NtUserGetAppImeLevel` prototype. CORE-11700
This commit is contained in:
parent
db8dd3b35e
commit
f4bc74edc3
6 changed files with 478 additions and 128 deletions
|
@ -1211,6 +1211,17 @@ typedef struct _IMEWND
|
|||
PIMEUI pimeui;
|
||||
} IMEWND, *PIMEWND;
|
||||
|
||||
typedef struct tagTRANSMSG {
|
||||
UINT message;
|
||||
WPARAM wParam;
|
||||
LPARAM lParam;
|
||||
} TRANSMSG, *PTRANSMSG, *LPTRANSMSG;
|
||||
|
||||
typedef struct tagTRANSMSGLIST {
|
||||
UINT uMsgCount;
|
||||
TRANSMSG TransMsg[1];
|
||||
} TRANSMSGLIST, *PTRANSMSGLIST, *LPTRANSMSGLIST;
|
||||
|
||||
#define DEFINE_IME_ENTRY(type, name, params, extended) typedef type (WINAPI *FN_##name) params;
|
||||
#include "imetable.h"
|
||||
#undef DEFINE_IME_ENTRY
|
||||
|
@ -2203,8 +2214,7 @@ NtUserGetAncestor(
|
|||
|
||||
DWORD
|
||||
NTAPI
|
||||
NtUserGetAppImeLevel(
|
||||
DWORD dwUnknown1);
|
||||
NtUserGetAppImeLevel(HWND hWnd);
|
||||
|
||||
SHORT
|
||||
NTAPI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue