ReactOS  0.4.15-dev-313-g8fde48b
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)
 
DWORD APIENTRY NtUserGetImeHotKey (DWORD Unknown0, DWORD Unknown1, DWORD Unknown2, DWORD Unknown3)
 
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)
 
DWORD APIENTRY NtUserGetImeInfoEx (PIMEINFOEX pImeInfoEx, DWORD dwUnknown2)
 
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 }
struct @1608 Msg[]
#define ASSERT_REFS_CO(_obj_)
Definition: userfuncs.h:13
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 82 of file ime.c.

85 {
86  STUB;
87  return 0;
88 }
#define STUB
Definition: kernel32.h:27

◆ NtUserDisableThreadIme()

DWORD APIENTRY NtUserDisableThreadIme ( DWORD  dwUnknown1)

Definition at line 93 of file ime.c.

95 {
96  STUB;
97  return 0;
98 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetAppImeLevel()

DWORD APIENTRY NtUserGetAppImeLevel ( DWORD  dwUnknown1)

Definition at line 102 of file ime.c.

104 {
105  STUB;
106  return 0;
107 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetImeHotKey()

DWORD APIENTRY NtUserGetImeHotKey ( DWORD  Unknown0,
DWORD  Unknown1,
DWORD  Unknown2,
DWORD  Unknown3 
)

Definition at line 42 of file ime.c.

47 {
48  STUB
49 
50  return 0;
51 }
#define STUB
Definition: kernel32.h:27

◆ NtUserGetImeInfoEx()

DWORD APIENTRY NtUserGetImeInfoEx ( PIMEINFOEX  pImeInfoEx,
DWORD  dwUnknown2 
)

Definition at line 111 of file ime.c.

114 {
115  STUB;
116  return 0;
117 }
#define STUB
Definition: kernel32.h:27

◆ NtUserNotifyIMEStatus()

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

Definition at line 55 of file ime.c.

59 {
60  STUB
61 
62  return 0;
63 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetAppImeLevel()

DWORD APIENTRY NtUserSetAppImeLevel ( DWORD  dwUnknown1,
DWORD  dwUnknown2 
)

Definition at line 122 of file ime.c.

125 {
126  STUB;
127  return 0;
128 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetImeHotKey()

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

Definition at line 68 of file ime.c.

74 {
75  STUB
76 
77  return 0;
78 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetImeInfoEx()

DWORD APIENTRY NtUserSetImeInfoEx ( PIMEINFOEX  pImeInfoEx)

Definition at line 132 of file ime.c.

134 {
135  STUB;
136  return 0;
137 }
#define STUB
Definition: kernel32.h:27

◆ NtUserSetImeOwnerWindow()

DWORD APIENTRY NtUserSetImeOwnerWindow ( DWORD  Unknown0,
DWORD  Unknown1 
)

Definition at line 140 of file ime.c.

142 {
143  STUB
144 
145  return 0;
146 }
#define STUB
Definition: kernel32.h:27