mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 19:31:37 +00:00
parent
e7846c0c67
commit
62f6e3b397
42 changed files with 2715 additions and 2715 deletions
|
@ -10,29 +10,29 @@
|
|||
START_TEST(NtUserRedrawWindow)
|
||||
{
|
||||
HINSTANCE hinst = GetModuleHandle(NULL);
|
||||
HWND hWnd;
|
||||
RECT rect;
|
||||
HWND hWnd;
|
||||
RECT rect;
|
||||
|
||||
hWnd = CreateWindowA("BUTTON",
|
||||
"Test",
|
||||
BS_PUSHBUTTON | WS_VISIBLE,
|
||||
0,
|
||||
0,
|
||||
50,
|
||||
30,
|
||||
NULL,
|
||||
NULL,
|
||||
hinst,
|
||||
0);
|
||||
ASSERT(hWnd);
|
||||
hWnd = CreateWindowA("BUTTON",
|
||||
"Test",
|
||||
BS_PUSHBUTTON | WS_VISIBLE,
|
||||
0,
|
||||
0,
|
||||
50,
|
||||
30,
|
||||
NULL,
|
||||
NULL,
|
||||
hinst,
|
||||
0);
|
||||
ASSERT(hWnd);
|
||||
|
||||
rect.left = 0;
|
||||
rect.top = 0;
|
||||
rect.right = 10;
|
||||
rect.bottom = 10;
|
||||
rect.left = 0;
|
||||
rect.top = 0;
|
||||
rect.right = 10;
|
||||
rect.bottom = 10;
|
||||
|
||||
TEST(NtUserRedrawWindow(hWnd, &rect, NULL, RDW_VALIDATE) == TRUE);
|
||||
TEST(NtUserRedrawWindow(hWnd, &rect, NULL, RDW_VALIDATE) == TRUE);
|
||||
|
||||
DestroyWindow(hWnd);
|
||||
DestroyWindow(hWnd);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue