Something went wrong. Try again.
Reactos
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
#ifndef _INC_COMMCTRL_WINE#define _INC_COMMCTRL_WINE
#define DPA_GetPtr DPA_GetPtr_wine_hack#define FlatSB_SetScrollProp FlatSB_SetScrollProp_wine_hack
#include <psdk/commctrl.h>
#ifdef __cplusplusextern "C" {#endif
#undef DPA_GetPtrLPVOID WINAPI DPA_GetPtr(HDPA, INT);
#undef FlatSB_SetScrollPropBOOL WINAPI FlatSB_SetScrollProp(HWND, UINT, INT, BOOL);
#define DRAGLISTMSGSTRINGA "commctrl_DragListMsg"#if defined(__GNUC__)# define DRAGLISTMSGSTRINGW (const WCHAR []){ 'c','o','m','m','c','t','r','l', \ '_','D','r','a','g','L','i','s','t','M','s','g',0 }#elif defined(_MSC_VER)# define DRAGLISTMSGSTRINGW L"commctrl_DragListMsg"#elsestatic const WCHAR DRAGLISTMSGSTRINGW[] = { 'c','o','m','m','c','t','r','l', '_','D','r','a','g','L','i','s','t','M','s','g',0 };#endif
#define ListView_InsertItemA(hwnd,pitem) \ (INT)SNDMSGA((hwnd),LVM_INSERTITEMA,0,(LPARAM)(const LVITEMA *)(pitem))#define ListView_InsertItemW(hwnd,pitem) \ (INT)SNDMSGW((hwnd),LVM_INSERTITEMW,0,(LPARAM)(const LVITEMW *)(pitem))
#ifdef __cplusplus#define SNDMSGA ::SendMessageA#define SNDMSGW ::SendMessageW#else#define SNDMSGA SendMessageA#define SNDMSGW SendMessageW#endif
#define FLATSB_CLASSA "flatsb_class32"#if defined(__GNUC__)# define FLATSB_CLASSW (const WCHAR []){ 'f','l','a','t','s','b','_', \ 'c','l','a','s','s','3','2',0 }#elif defined(_MSC_VER)# define FLATSB_CLASSW L"flatsb_class32"#elsestatic const WCHAR FLATSB_CLASSW[] = { 'f','l','a','t','s','b','_', 'c','l','a','s','s','3','2',0 };#endif
typedef TBSAVEPARAMSW *LPTBSAVEPARAMSW;
typedef LVFINDINFOA *LPLVFINDINFOA;typedef LVFINDINFOW *LPLVFINDINFOW;
#define SB_SETBORDERS (WM_USER+5)
/* these are undocumented and the names are guesses */typedef struct{ NMHDR hdr; HWND hwndDialog;} NMTBINITCUSTOMIZE;
typedef struct{ NMHDR hdr; INT idNew; INT iDirection; /* left is -1, right is 1 */ DWORD dwReason; /* HICF_* */} NMTBWRAPHOTITEM;
#define LPNMLVDISPINFO WINELIB_NAME_AW(LPNMLVDISPINFO)
/* undocumented messages in Toolbar */#define TB_UNKWN45D (WM_USER+93)#define TB_UNKWN464 (WM_USER+100)
#define TreeView_GetItemA(hwnd, pitem) \ (BOOL)SNDMSGA((hwnd), TVM_GETITEMA, 0, (LPARAM) (TVITEMA *)(pitem))
#define TreeView_InsertItemA(hwnd, phdi) \ (HTREEITEM)SNDMSGA((hwnd), TVM_INSERTITEMA, 0, \ (LPARAM)(LPTVINSERTSTRUCTA)(phdi))
#define TreeView_SetItemA(hwnd, pitem) \ (BOOL)SNDMSGA((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem))
#ifdef __cplusplus}#endif
#endif /* _INC_COMMCTRL_WINE */