mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 06:08:23 +00:00
![Giannis Adamopoulos](/assets/img/avatar_default.png)
[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);
|
|
}
|