ReactOS
0.4.16-dev-1041-g8b6907f
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
m
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
_
a
b
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
NtUserRedrawWindow.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS api tests
3
* LICENSE: GPL - See COPYING in the top level directory
4
* PURPOSE: Test for NtUserRedrawWindow
5
* PROGRAMMERS:
6
*/
7
8
#include "../win32nt.h"
9
10
START_TEST
(
NtUserRedrawWindow
)
11
{
12
HINSTANCE
hinst
=
GetModuleHandle
(
NULL
);
13
HWND
hWnd
;
14
RECT
rect
;
15
16
hWnd
=
CreateWindowA
(
"BUTTON"
,
17
"Test"
,
18
BS_PUSHBUTTON
|
WS_VISIBLE
,
19
0,
20
0,
21
50,
22
30,
23
NULL
,
24
NULL
,
25
hinst
,
26
0);
27
ASSERT
(
hWnd
);
28
29
rect
.left = 0;
30
rect
.top = 0;
31
rect
.right = 10;
32
rect
.bottom = 10;
33
34
TEST
(
NtUserRedrawWindow
(
hWnd
, &
rect
,
NULL
,
RDW_VALIDATE
) ==
TRUE
);
35
36
DestroyWindow
(
hWnd
);
37
38
}
START_TEST
#define START_TEST(x)
Definition:
atltest.h:75
hWnd
HWND hWnd
Definition:
settings.c:17
NULL
#define NULL
Definition:
types.h:112
TRUE
#define TRUE
Definition:
types.h:120
NtUserRedrawWindow
BOOL NTAPI NtUserRedrawWindow(HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
Definition:
painting.c:2003
void
Definition:
nsiface.idl:2307
ASSERT
#define ASSERT(a)
Definition:
mode.c:44
TEST
#define TEST(x)
Definition:
precomp.h:20
hinst
static HINSTANCE hinst
Definition:
edit.c:551
WS_VISIBLE
#define WS_VISIBLE
Definition:
pedump.c:620
BS_PUSHBUTTON
#define BS_PUSHBUTTON
Definition:
pedump.c:651
rect
& rect
Definition:
startmenu.cpp:1413
tagRECT
Definition:
windef.h:305
GetModuleHandle
#define GetModuleHandle
Definition:
winbase.h:3858
CreateWindowA
#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k)
Definition:
winuser.h:4326
RDW_VALIDATE
#define RDW_VALIDATE
Definition:
winuser.h:1229
DestroyWindow
BOOL WINAPI DestroyWindow(_In_ HWND)
modules
rostests
apitests
win32nt
ntuser
NtUserRedrawWindow.c
Generated on Sat Apr 26 2025 06:08:37 for ReactOS by
1.9.6