reactos/reactos/base/applications/regedit/clb/clbdll.h
Ged Murphy c5b25b8e9b - Move from using include guards to pragma once.
- Whilst this is non-standard and potentially makes the code less portable, it's supported by both gcc and msvc and should bringg increased compilation speed due to its optimized behaviour (doesn't need to invoke the preprocessor)
- Patch by Amine Khaldi [amine.khaldi@reactos.org]

svn path=/trunk/; revision=45685
2010-02-26 11:43:19 +00:00

41 lines
1.3 KiB
C

#pragma once
#define CLBS_NOTIFY 0x1
#define CLBS_SORT 0x2
#define CLBS_DISABLENOSCROLL 0x1000
#define CLBS_VSCROLL 0x200000
#define CLBS_BORDER 0x800000
#define CLBS_POPOUT_HEADINGS 0x200
#define CLBS_SPRINGLY_COLUMNS 0x0
typedef struct _CLBS_INFO
{
DWORD Style;
DWORD Unknown; /* FIXME - ExStyle??? */
LPCWSTR StyleName;
} CLBS_INFO, *LPCLBS_INFO;
typedef struct _CUSTOM_CONTROL_INFO
{
WCHAR ClassName[32];
DWORD Zero1; /* sizeof(DWORD) or sizeof(PVOID)? */
WCHAR ClassName2[32];
DWORD Unknown1; /* FIXME - size correct? */
DWORD Unknown2; /* FIXME - size correct? */
DWORD Unknown3; /* FIXME - size correct? */
DWORD Zero2; /* FIXME - size correct? */
DWORD Zero3; /* FIXME - size correct? */
DWORD StylesCount;
const CLBS_INFO *SupportedStyles;
WCHAR Columns[256];
INT_PTR (WINAPI *ClbStyleW)(IN HWND hWndParent,
IN LPARAM dwInitParam);
DWORD Zero4; /* FIXME - size correct? */
DWORD Zero5; /* FIXME - size correct? */
DWORD Zero6; /* FIXME - size correct? */
} CUSTOM_CONTROL_INFO, *LPCUSTOM_CONTROL_INFO;
LRESULT CALLBACK ClbWndProc(HWND,UINT,WPARAM,LPARAM);
INT_PTR WINAPI ClbStyleW(HWND,LPARAM);
BOOL WINAPI CustomControlInfoW(LPCUSTOM_CONTROL_INFO);