ReactOS  0.4.15-dev-5122-g72bdbdd
ImmIsUIMessage.c File Reference
#include "precomp.h"
Include dependency graph for ImmIsUIMessage.c:

Go to the source code of this file.

Functions

 START_TEST (ImmIsUIMessage)
 

Function Documentation

◆ START_TEST()

START_TEST ( ImmIsUIMessage  )

Definition at line 10 of file ImmIsUIMessage.c.

11 {
12  UINT uMsg;
13  BOOL ret;
14  for (uMsg = 0x100; uMsg < 0x300; ++uMsg)
15  {
16  ret = ImmIsUIMessageA(NULL, uMsg, 0, 0);
17  switch (uMsg)
18  {
19  case WM_IME_STARTCOMPOSITION: case WM_IME_ENDCOMPOSITION:
20  case WM_IME_COMPOSITION: case WM_IME_SETCONTEXT: case WM_IME_NOTIFY:
22  ok_int(ret, TRUE);
23  break;
24  default:
25  ok_int(ret, FALSE);
26  break;
27  }
28  }
29 }
#define WM_IME_NOTIFY
Definition: winuser.h:1820
#define TRUE
Definition: types.h:120
#define WM_IME_SELECT
Definition: winuser.h:1823
#define WM_IME_COMPOSITIONFULL
Definition: winuser.h:1822
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL WINAPI ImmIsUIMessageA(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition: keymsg.c:604
#define ok_int(expression, result)
Definition: atltest.h:134
#define WM_IME_SYSTEM
Definition: undocuser.h:59
#define WM_IME_SETCONTEXT
Definition: winuser.h:1819
int ret
unsigned int UINT
Definition: ndis.h:50
#define NULL
Definition: types.h:112