ReactOS
0.4.16-dev-297-gc569aee
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
ImmIsUIMessage.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS api tests
3
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4
* PURPOSE: Test for ImmIsUIMessage
5
* COPYRIGHT: Copyright 2021 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
6
*/
7
8
#include "
precomp.h
"
9
10
START_TEST
(
ImmIsUIMessage
)
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
:
21
case
WM_IME_COMPOSITIONFULL
:
case
WM_IME_SELECT
:
case
WM_IME_SYSTEM
:
22
ok_int
(
ret
,
TRUE
);
23
break
;
24
default
:
25
ok_int
(
ret
,
FALSE
);
26
break
;
27
}
28
}
29
}
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
ok_int
#define ok_int(expression, result)
Definition:
atltest.h:134
NULL
#define NULL
Definition:
types.h:112
TRUE
#define TRUE
Definition:
types.h:120
FALSE
#define FALSE
Definition:
types.h:117
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
ImmIsUIMessage
#define ImmIsUIMessage
Definition:
imm.h:832
ImmIsUIMessageA
BOOL WINAPI ImmIsUIMessageA(HWND hWndIME, UINT msg, WPARAM wParam, LPARAM lParam)
Definition:
keymsg.c:610
UINT
unsigned int UINT
Definition:
ndis.h:50
WM_IME_SYSTEM
#define WM_IME_SYSTEM
Definition:
undocuser.h:60
ret
int ret
Definition:
wcstombs-tests.c:31
precomp.h
WM_IME_NOTIFY
#define WM_IME_NOTIFY
Definition:
winuser.h:1833
WM_IME_SETCONTEXT
#define WM_IME_SETCONTEXT
Definition:
winuser.h:1832
WM_IME_COMPOSITIONFULL
#define WM_IME_COMPOSITIONFULL
Definition:
winuser.h:1835
WM_IME_SELECT
#define WM_IME_SELECT
Definition:
winuser.h:1836
modules
rostests
apitests
imm32
ImmIsUIMessage.c
Generated on Tue Nov 26 2024 06:07:11 for ReactOS by
1.9.6