ReactOS 0.4.15-dev-7924-g5949c20
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
11{
13 HWND hWnd;
14 RECT rect;
15
16 hWnd = CreateWindowA("BUTTON",
17 "Test",
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
35
37
38}
#define START_TEST(x)
Definition: atltest.h:75
HWND hWnd
Definition: settings.c:17
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
BOOL NTAPI NtUserRedrawWindow(HWND hWnd, CONST RECT *lprcUpdate, HRGN hrgnUpdate, UINT flags)
Definition: painting.c:1996
#define ASSERT(a)
Definition: mode.c:44
#define TEST(x)
Definition: precomp.h:20
static HINSTANCE hinst
Definition: edit.c:551
#define WS_VISIBLE
Definition: pedump.c:620
#define BS_PUSHBUTTON
Definition: pedump.c:651
& rect
Definition: startmenu.cpp:1413
#define GetModuleHandle
Definition: winbase.h:3827
#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k)
Definition: winuser.h:4315
#define RDW_VALIDATE
Definition: winuser.h:1218
BOOL WINAPI DestroyWindow(_In_ HWND)