91a9892520c929c54f4737bebc47b915a4ba065d
[reactos.git] / reactos / win32ss / user / user32 / include / regcontrol.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS User32
4 * PURPOSE: Built-in control registration
5 * FILE: include/user32/regcontrol.h
6 * PROGRAMER: Ge van Geldorp (ge@gse.nl)
7 * REVISION HISTORY: 2003/06/16 GvG Created
8 * NOTES:
9 */
10 #pragma once
11
12 /* Built-in class descriptor */
13 struct builtin_class_descr
14 {
15 LPCWSTR name; /* class name */
16 UINT style; /* class style */
17 WNDPROC procA; /* Ansi window procedure */
18 WNDPROC procW; /* Unicode window procedure */
19 INT extra; /* window extra bytes */
20 LPCWSTR cursor; /* cursor name */
21 HBRUSH brush; /* brush or system color */
22 };
23
24 extern DWORD RegisterDefaultClasses;
25 BOOL WINAPI RegisterSystemControls(VOID);
26
27 extern const struct builtin_class_descr BUTTON_builtin_class;
28 extern const struct builtin_class_descr COMBO_builtin_class;
29 extern const struct builtin_class_descr COMBOLBOX_builtin_class;
30 extern const struct builtin_class_descr DIALOG_builtin_class;
31 extern const struct builtin_class_descr POPUPMENU_builtin_class;
32 extern const struct builtin_class_descr DESKTOP_builtin_class;
33 extern const struct builtin_class_descr EDIT_builtin_class;
34 extern const struct builtin_class_descr ICONTITLE_builtin_class;
35 extern const struct builtin_class_descr LISTBOX_builtin_class;
36 extern const struct builtin_class_descr MDICLIENT_builtin_class;
37 extern const struct builtin_class_descr MENU_builtin_class;
38 extern const struct builtin_class_descr SCROLL_builtin_class;
39 extern const struct builtin_class_descr STATIC_builtin_class;
40
41 ATOM WINAPI RegisterClassExWOWW(WNDCLASSEXW *,LPDWORD,WORD,DWORD,BOOL);