mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
6a944b556a
CORE-11944
49 lines
2 KiB
C
49 lines
2 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS User32
|
|
* PURPOSE: Built-in control registration
|
|
* FILE: win32ss/user/user32/include/regcontrol.h
|
|
* PROGRAMER: Ge van Geldorp (ge@gse.nl)
|
|
* REVISION HISTORY: 2003/06/16 GvG Created
|
|
* NOTES:
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* Built-in class descriptor */
|
|
struct builtin_class_descr
|
|
{
|
|
LPCWSTR name; /* class name */
|
|
UINT style; /* class style */
|
|
WNDPROC procA; /* Ansi window procedure */
|
|
WNDPROC procW; /* Unicode window procedure */
|
|
INT extra; /* window extra bytes */
|
|
LPCWSTR cursor; /* cursor name */
|
|
HBRUSH brush; /* brush or system color */
|
|
};
|
|
|
|
extern DWORD RegisterDefaultClasses;
|
|
BOOL WINAPI RegisterSystemControls(VOID);
|
|
|
|
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;
|
|
extern const struct builtin_class_descr POPUPMENU_builtin_class;
|
|
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;
|
|
extern const struct builtin_class_descr GHOST_builtin_class;
|
|
|
|
ATOM WINAPI RegisterClassExWOWW(WNDCLASSEXW *,LPDWORD,WORD,DWORD,BOOL);
|
|
BOOL FASTCALL VersionRegisterClass(PCWSTR,LPCWSTR,HANDLE,HMODULE *);
|
|
|
|
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);
|