mirror of
https://github.com/reactos/reactos.git
synced 2024-10-25 15:36:07 +00:00
93bbc9d548
[UXTHEME_APITEST] -Use the helper functions to test the messages sent by DrawThemeParentBackground svn path=/trunk/; revision=74123
14 lines
410 B
C
14 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);
|
|
}
|