https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c5d3ff03fbdc99b69c55c…
commit c5d3ff03fbdc99b69c55c1350136ff95372e8ed5
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Mon Sep 24 16:45:41 2018 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sun Jun 2 19:08:17 2019 +0200
[USER32_APITEST:WNDPROC] 0 to NULL
---
modules/rostests/apitests/user32/WndProc.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/rostests/apitests/user32/WndProc.c
b/modules/rostests/apitests/user32/WndProc.c
index 8c08b083fed..fddbd0fa20e 100644
--- a/modules/rostests/apitests/user32/WndProc.c
+++ b/modules/rostests/apitests/user32/WndProc.c
@@ -75,9 +75,9 @@ static void test_wndproc(void)
cls.lpfnWndProc = (WNDPROC)redraw_window_procA;
cls.cbClsExtra = 0;
cls.cbWndExtra = 0;
- cls.hInstance = GetModuleHandleA(0);
- cls.hIcon = 0;
- cls.hCursor = LoadCursorA(0, IDC_ARROW);
+ cls.hInstance = GetModuleHandleA(NULL);
+ cls.hIcon = NULL;
+ cls.hCursor = LoadCursorA(NULL, IDC_ARROW);
cls.hbrBackground = GetStockObject(WHITE_BRUSH);
cls.lpszMenuName = NULL;
cls.lpszClassName = "RedrawWindowClass";
@@ -89,7 +89,7 @@ static void test_wndproc(void)
}
hwndMain = CreateWindowA("RedrawWindowClass", "Main Window",
WS_OVERLAPPEDWINDOW,
- CW_USEDEFAULT, 0, 100, 100, NULL, NULL, 0, NULL);
+ CW_USEDEFAULT, 0, 100, 100, NULL, NULL, NULL, NULL);
ok(WMPAINT_count == 0, "Multiple unexpected WM_PAINT calls %d\n",
WMPAINT_count);
ShowWindow(hwndMain, SW_SHOW);