mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00

[UXTHEME_APITEST] -Use the helper functions to test the messages sent by DrawThemeParentBackground svn path=/trunk/; revision=74123
13 lines
410 B
C
13 lines
410 B
C
|
|
static __inline ATOM RegisterSimpleClass(WNDPROC lpfnWndProc, LPCWSTR lpszClassName)
|
|
{
|
|
WNDCLASSEXW wcex;
|
|
|
|
memset(&wcex, 0, sizeof(wcex));
|
|
wcex.cbSize = sizeof(WNDCLASSEX);
|
|
wcex.lpfnWndProc = lpfnWndProc;
|
|
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
|
|
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
|
|
wcex.lpszClassName = lpszClassName;
|
|
return RegisterClassExW(&wcex);
|
|
}
|