2#ifndef _INC_COMMCTRL_WINE
3#define _INC_COMMCTRL_WINE
5#define DPA_GetPtr DPA_GetPtr_wine_hack
6#define FlatSB_SetScrollProp FlatSB_SetScrollProp_wine_hack
17#undef FlatSB_SetScrollProp
20#define DRAGLISTMSGSTRINGA "commctrl_DragListMsg"
22# define DRAGLISTMSGSTRINGW (const WCHAR []){ 'c','o','m','m','c','t','r','l', \
23 '_','D','r','a','g','L','i','s','t','M','s','g',0 }
24#elif defined(_MSC_VER)
25# define DRAGLISTMSGSTRINGW L"commctrl_DragListMsg"
28 '_',
'D',
'r',
'a',
'g',
'L',
'i',
's',
't',
'M',
's',
'g',0 };
31#define ListView_InsertItemA(hwnd,pitem) \
32 (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem))
33#define ListView_InsertItemW(hwnd,pitem) \
34 (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem))
37#define SNDMSGA ::SendMessageA
38#define SNDMSGW ::SendMessageW
40#define SNDMSGA SendMessageA
41#define SNDMSGW SendMessageW
44#define FLATSB_CLASSA "flatsb_class32"
46# define FLATSB_CLASSW (const WCHAR []){ 'f','l','a','t','s','b','_', \
47 'c','l','a','s','s','3','2',0 }
48#elif defined(_MSC_VER)
49# define FLATSB_CLASSW L"flatsb_class32"
52 'c',
'l',
'a',
's',
's',
'3',
'2',0 };
60#define SB_SETBORDERS (WM_USER+5)
77#define LPNMLVDISPINFO WINELIB_NAME_AW(LPNMLVDISPINFO)
80#define TB_UNKWN45D (WM_USER+93)
81#define TB_UNKWN464 (WM_USER+100)
83#define TreeView_GetItemA(hwnd, pitem) \
84 (BOOL)SNDMSGA((hwnd), TVM_GETITEMA, 0, (LPARAM) (TVITEMA *)(pitem))
86#define TreeView_InsertItemA(hwnd, phdi) \
87 (HTREEITEM)SNDMSGA((hwnd), TVM_INSERTITEMA, 0, \
88 (LPARAM)(LPTVINSERTSTRUCTA)(phdi))
90#define TreeView_SetItemA(hwnd, pitem) \
91 (BOOL)SNDMSGA((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem))
LVFINDINFOA * LPLVFINDINFOA
TBSAVEPARAMSW * LPTBSAVEPARAMSW
#define FlatSB_SetScrollProp
LVFINDINFOW * LPLVFINDINFOW
static const WCHAR FLATSB_CLASSW[]
static const WCHAR DRAGLISTMSGSTRINGW[]