ReactOS  0.4.15-dev-1152-g6c94e4f
ime.c File Reference
#include <win32k.h>
Include dependency graph for ime.c:

Go to the source code of this file.

Functions

 DBG_DEFAULT_CHANNEL (UserMisc)
 
UINT FASTCALL IntImmProcessKey (PUSER_MESSAGE_QUEUE MessageQueue, PWND pWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
 
BOOL WINAPI NtUserGetImeHotKey (IN DWORD dwHotKey, OUT LPUINT lpuModifiers, OUT LPUINT lpuVKey, OUT LPHKL lphKL)
 
DWORD APIENTRY NtUserNotifyIMEStatus (DWORD Unknown0, DWORD Unknown1, DWORD Unknown2)
 
DWORD APIENTRY NtUserSetImeHotKey (DWORD Unknown0, DWORD Unknown1, DWORD Unknown2, DWORD Unknown3, DWORD Unknown4)
 
DWORD APIENTRY NtUserCheckImeHotKey (DWORD VirtualKey, LPARAM lParam)
 
DWORD APIENTRY NtUserDisableThreadIme (DWORD dwUnknown1)
 
DWORD APIENTRY NtUserGetAppImeLevel (DWORD dwUnknown1)
 
BOOL APIENTRY NtUserGetImeInfoEx (PIMEINFOEX pImeInfoEx, IMEINFOEXCLASS SearchType)
 
DWORD APIENTRY NtUserSetAppImeLevel (DWORD dwUnknown1, DWORD dwUnknown2)
 
DWORD APIENTRY NtUserSetImeInfoEx (PIMEINFOEX pImeInfoEx)
 
DWORD APIENTRY NtUserSetImeOwnerWindow (DWORD Unknown0, DWORD Unknown1)
 

Function Documentation

◆ DBG_DEFAULT_CHANNEL()

DBG_DEFAULT_CHANNEL ( UserMisc  )

◆ IntImmProcessKey()

UINT FASTCALL IntImmProcessKey ( PUSER_MESSAGE_QUEUE  MessageQueue,
PWND  pWnd,
UINT  Msg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 14 of file ime.c.

15 {
16  PKL pKbdLayout;
17 
18  ASSERT_REFS_CO(pWnd);
19 
20  if ( Msg == WM_KEYDOWN ||
21  Msg == WM_SYSKEYDOWN ||
22  Msg == WM_KEYUP ||
23  Msg == WM_SYSKEYUP )
24  {
25  //Vk = wParam & 0xff;
26  pKbdLayout = pWnd->head.pti->KeyboardLayout;
27  if (pKbdLayout == NULL) return 0;
28  //
29  if (!(gpsi->dwSRVIFlags & SRVINFO_IMM32)) return 0;
30  // need ime.h!
31  }
32  // Call User32:
33  // Anything but BOOL!
34  //ImmRet = co_IntImmProcessKey(UserHMGetHandle(pWnd), pKbdLayout->hkl, Vk, lParam, HotKey);
35  FIXME(" is UNIMPLEMENTED.\n");
36  return 0;
37 }
#define ASSERT_REFS_CO(_obj_)
Definition: userfuncs.h:13
struct @1610 Msg[]
PSERVERINFO gpsi
Definition: main.c:27
DWORD dwSRVIFlags
Definition: ntuser.h:1004
#define FIXME(fmt,...)
Definition: debug.h:111
THRDESKHEAD head
Definition: ntuser.h:659
smooth NULL
Definition: ftsmooth.c:416
Definition: input.h:26
#define WM_KEYDOWN
Definition: winuser.h:1697
#define WM_KEYUP
Definition: winuser.h:1698
#define WM_SYSKEYUP
Definition: winuser.h:1702
#define SRVINFO_IMM32
Definition: ntuser.h:910
#define WM_SYSKEYDOWN
Definition: winuser.h:1701

Referenced by co_IntProcessKeyboardMessage().

◆ NtUserCheckImeHotKey()

DWORD APIENTRY NtUserCheckImeHotKey ( DWORD  VirtualKey,
LPARAM  lParam 
)

Definition at line 79 of file ime.c.

82 {
83  STUB;
84  return 0;
85 }
#define STUB
Definition: kernel32.h:27

◆ NtUserDisableThreadIme()

DWORD APIENTRY NtUserDisableThreadIme ( DWORD  dwUnknown1)

Definition at line 90 of file ime.c.

92 {
93  STUB;
94  return 0;
95 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetAppImeLevel()

DWORD APIENTRY NtUserGetAppImeLevel ( DWORD  dwUnknown1)

Definition at line 99 of file ime.c.

101 {
102  STUB;
103  return 0;
104 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetImeHotKey()

BOOL WINAPI NtUserGetImeHotKey ( IN DWORD  dwHotKey,
OUT LPUINT  lpuModifiers,
OUT LPUINT  lpuVKey,
OUT LPHKL  lphKL 
)

Definition at line 40 of file ime.c.

44 {
45  STUB
46 
47  return FALSE;
48 }
#define FALSE
Definition: types.h:117
#define STUB
Definition: kernel32.h:27

◆ NtUserGetImeInfoEx()

BOOL APIENTRY NtUserGetImeInfoEx ( PIMEINFOEX  pImeInfoEx,
IMEINFOEXCLASS  SearchType 
)

Definition at line 108 of file ime.c.

111 {
112  STUB;
113  return FALSE;
114 }
#define FALSE
Definition: types.h:117
#define STUB
Definition: kernel32.h:27

◆ NtUserNotifyIMEStatus()

DWORD APIENTRY NtUserNotifyIMEStatus ( DWORD  Unknown0,
DWORD  Unknown1,
DWORD  Unknown2 
)

Definition at line 52 of file ime.c.

56 {
57  STUB
58 
59  return 0;
60 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetAppImeLevel()

DWORD APIENTRY NtUserSetAppImeLevel ( DWORD  dwUnknown1,
DWORD  dwUnknown2 
)

Definition at line 119 of file ime.c.

122 {
123  STUB;
124  return 0;
125 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetImeHotKey()

DWORD APIENTRY NtUserSetImeHotKey ( DWORD  Unknown0,
DWORD  Unknown1,
DWORD  Unknown2,
DWORD  Unknown3,
DWORD  Unknown4 
)

Definition at line 65 of file ime.c.

71 {
72  STUB
73 
74  return 0;
75 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetImeInfoEx()

DWORD APIENTRY NtUserSetImeInfoEx ( PIMEINFOEX  pImeInfoEx)

Definition at line 129 of file ime.c.

131 {
132  STUB;
133  return 0;
134 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetImeOwnerWindow()

DWORD APIENTRY NtUserSetImeOwnerWindow ( DWORD  Unknown0,
DWORD  Unknown1 
)

Definition at line 137 of file ime.c.

139 {
140  STUB
141 
142  return 0;
143 }
#define STUB
Definition: kernel32.h:27