2013-03-14 20:35:39 +00:00
|
|
|
/*
|
2003-06-16 13:46:26 +00:00
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS User32
|
|
|
|
* PURPOSE: Built-in control registration
|
2015-11-01 09:41:29 +00:00
|
|
|
* FILE: win32ss/user/user32/include/regcontrol.h
|
2003-06-16 13:46:26 +00:00
|
|
|
* PROGRAMER: Ge van Geldorp (ge@gse.nl)
|
|
|
|
* REVISION HISTORY: 2003/06/16 GvG Created
|
|
|
|
* NOTES:
|
|
|
|
*/
|
2014-02-04 19:40:45 +00:00
|
|
|
|
2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2003-06-22 19:18:17 +00:00
|
|
|
|
2003-06-16 13:46:26 +00:00
|
|
|
/* Built-in class descriptor */
|
|
|
|
struct builtin_class_descr
|
|
|
|
{
|
2003-08-15 15:55:02 +00:00
|
|
|
LPCWSTR name; /* class name */
|
2003-06-16 13:46:26 +00:00
|
|
|
UINT style; /* class style */
|
2003-11-08 15:39:13 +00:00
|
|
|
WNDPROC procA; /* Ansi window procedure */
|
2009-01-12 00:36:14 +00:00
|
|
|
WNDPROC procW; /* Unicode window procedure */
|
2003-06-16 13:46:26 +00:00
|
|
|
INT extra; /* window extra bytes */
|
2003-08-15 15:55:02 +00:00
|
|
|
LPCWSTR cursor; /* cursor name */
|
2003-06-16 13:46:26 +00:00
|
|
|
HBRUSH brush; /* brush or system color */
|
|
|
|
};
|
|
|
|
|
2009-09-07 04:55:00 +00:00
|
|
|
extern DWORD RegisterDefaultClasses;
|
2007-11-16 07:12:59 +00:00
|
|
|
BOOL WINAPI RegisterSystemControls(VOID);
|
2004-12-24 17:45:59 +00:00
|
|
|
|
2003-06-16 13:46:26 +00:00
|
|
|
extern const struct builtin_class_descr BUTTON_builtin_class;
|
|
|
|
extern const struct builtin_class_descr COMBO_builtin_class;
|
|
|
|
extern const struct builtin_class_descr COMBOLBOX_builtin_class;
|
|
|
|
extern const struct builtin_class_descr DIALOG_builtin_class;
|
2003-08-15 15:12:14 +00:00
|
|
|
extern const struct builtin_class_descr POPUPMENU_builtin_class;
|
2003-06-16 13:46:26 +00:00
|
|
|
extern const struct builtin_class_descr DESKTOP_builtin_class;
|
|
|
|
extern const struct builtin_class_descr EDIT_builtin_class;
|
|
|
|
extern const struct builtin_class_descr ICONTITLE_builtin_class;
|
|
|
|
extern const struct builtin_class_descr LISTBOX_builtin_class;
|
|
|
|
extern const struct builtin_class_descr MDICLIENT_builtin_class;
|
|
|
|
extern const struct builtin_class_descr MENU_builtin_class;
|
|
|
|
extern const struct builtin_class_descr SCROLL_builtin_class;
|
|
|
|
extern const struct builtin_class_descr STATIC_builtin_class;
|
2018-12-02 09:51:44 +00:00
|
|
|
extern const struct builtin_class_descr GHOST_builtin_class;
|
2003-06-22 19:18:17 +00:00
|
|
|
|
2009-09-07 04:55:00 +00:00
|
|
|
ATOM WINAPI RegisterClassExWOWW(WNDCLASSEXW *,LPDWORD,WORD,DWORD,BOOL);
|
2013-11-03 23:19:59 +00:00
|
|
|
BOOL FASTCALL VersionRegisterClass(PCWSTR,LPCWSTR,HANDLE,HMODULE *);
|
2015-01-04 19:27:40 +00:00
|
|
|
|
|
|
|
LRESULT WINAPI ImeWndProc_common(HWND,UINT,WPARAM,LPARAM,BOOL);
|
|
|
|
LRESULT WINAPI ImeWndProcA(HWND,UINT,WPARAM,LPARAM);
|
|
|
|
LRESULT WINAPI ImeWndProcW(HWND,UINT,WPARAM,LPARAM);
|
|
|
|
BOOL WINAPI RegisterIMEClass(VOID);
|