ReactOS  0.4.14-dev-77-gd9e7c48
user32testhelpers.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static __inline ATOM RegisterSimpleClass (WNDPROC lpfnWndProc, LPCWSTR lpszClassName)
 

Function Documentation

◆ RegisterSimpleClass()

static __inline ATOM RegisterSimpleClass ( WNDPROC  lpfnWndProc,
LPCWSTR  lpszClassName 
)
static

Definition at line 4 of file user32testhelpers.h.

5 {
6  WNDCLASSEXW wcex;
7 
8  memset(&wcex, 0, sizeof(wcex));
9  wcex.cbSize = sizeof(WNDCLASSEX);
10  wcex.lpfnWndProc = lpfnWndProc;
12  wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
13  wcex.lpszClassName = lpszClassName;
14  return RegisterClassExW(&wcex);
15 }
#define COLOR_WINDOW
Definition: winuser.h:908
ATOM WINAPI RegisterClassExW(_In_ CONST WNDCLASSEXW *)
smooth NULL
Definition: ftsmooth.c:416
LPCWSTR lpszClassName
Definition: winuser.h:3200
HBRUSH hbrBackground
Definition: winuser.h:3198
UINT cbSize
Definition: winuser.h:3190
HCURSOR hCursor
Definition: winuser.h:3197
#define LoadCursor
Definition: winuser.h:5713
WNDPROC lpfnWndProc
Definition: winuser.h:3192
#define IDC_ARROW
Definition: winuser.h:682
WNDCLASSEXA WNDCLASSEX
Definition: winuser.h:5620
#define memset(x, y, z)
Definition: compat.h:39

Referenced by create_test_windows(), InitThreads(), START_TEST(), Test_Messages(), Test_Messages_Child(), Test_Messages_MDI(), Test_Messages_MDI_Child(), Test_MessagesNonThemed(), Test_MessagesThemed(), Test_Params(), and TestMessages().