ReactOS  0.4.15-dev-1068-g467feb9
NtUserCallHwndParam.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 NtUserCallHwndParam
5  * PROGRAMMERS:
6  */
7 
8 #include <win32nt.h>
9 
10 void
12 {
15 }
16 
18 {
19  HWND hWnd;
20 
21  hWnd = CreateWindowA("BUTTON",
22  "Test",
24  0,
25  0,
26  50,
27  30,
28  NULL,
29  NULL,
31  0);
32  ASSERT(hWnd);
33 
35 
37 }
DWORD NTAPI NtUserCallHwndParam(HWND hWnd, DWORD_PTR Param, DWORD Routine)
Definition: simplecall.c:755
#define TRUE
Definition: types.h:120
HWND hWnd
Definition: settings.c:17
BOOL WINAPI DestroyWindow(_In_ HWND)
#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k)
Definition: winuser.h:4290
smooth NULL
Definition: ftsmooth.c:416
START_TEST(NtUserCallHwndParam)
#define TEST(x)
Definition: precomp.h:20
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
void Test_HwndParamRoutine_SetWindowContextHelpId(HWND hWnd)
#define BS_PUSHBUTTON
Definition: pedump.c:651
#define _HWNDPARAM_ROUTINE_SETWNDCONTEXTHLPID
Definition: w32knapi.h:68
HINSTANCE g_hInstance
Definition: MainWindow.cpp:18
#define WS_VISIBLE
Definition: pedump.c:620
DWORD NTAPI NtUserCallHwnd(HWND hWnd, DWORD Routine)
Definition: simplecall.c:699