Lars Martin Hambro <lars_martin4 AT hotmail DOT com>
[reactos.git] / base / applications / regedit / clb / clbdll.h
1 #ifndef __CLBDLL_H
2 #define __CLBDLL_H
3
4 #define CLBS_NOTIFY 0x1
5 #define CLBS_SORT 0x2
6 #define CLBS_DISABLENOSCROLL 0x1000
7 #define CLBS_VSCROLL 0x200000
8 #define CLBS_BORDER 0x800000
9 #define CLBS_POPOUT_HEADINGS 0x200
10 #define CLBS_SPRINGLY_COLUMNS 0x0
11
12 typedef struct _CLBS_INFO
13 {
14 DWORD Style;
15 DWORD Unknown; /* FIXME - ExStyle??? */
16 LPCWSTR StyleName;
17 } CLBS_INFO, *LPCLBS_INFO;
18
19 typedef struct _CUSTOM_CONTROL_INFO
20 {
21 WCHAR ClassName[32];
22 DWORD Zero1; /* sizeof(DWORD) or sizeof(PVOID)? */
23 WCHAR ClassName2[32];
24 DWORD Unknown1; /* FIXME - size correct? */
25 DWORD Unknown2; /* FIXME - size correct? */
26 DWORD Unknown3; /* FIXME - size correct? */
27 DWORD Zero2; /* FIXME - size correct? */
28 DWORD Zero3; /* FIXME - size correct? */
29 DWORD StylesCount;
30 const CLBS_INFO *SupportedStyles;
31 WCHAR Columns[256];
32 INT_PTR (WINAPI *ClbStyleW)(IN HWND hWndParent,
33 IN LPARAM dwInitParam);
34 DWORD Zero4; /* FIXME - size correct? */
35 DWORD Zero5; /* FIXME - size correct? */
36 DWORD Zero6; /* FIXME - size correct? */
37 } CUSTOM_CONTROL_INFO, *LPCUSTOM_CONTROL_INFO;
38
39 LRESULT CALLBACK ClbWndProc(HWND,UINT,WPARAM,LPARAM);
40 INT_PTR WINAPI ClbStyleW(HWND,LPARAM);
41 BOOL WINAPI CustomControlInfoW(LPCUSTOM_CONTROL_INFO);
42
43 #endif /* __CLBDLL_H */