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