From 065ed554bed989abd161948bcd3885ad935084e8 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Sun, 30 May 2010 15:00:04 +0000 Subject: [PATCH] [PSDK] add missing definitions svn path=/trunk/; revision=47444 --- reactos/include/psdk/commctrl.h | 3 +++ reactos/include/psdk/shellapi.h | 13 +++++++++++++ 2 files changed, 16 insertions(+) diff --git a/reactos/include/psdk/commctrl.h b/reactos/include/psdk/commctrl.h index 9f3366e3474..2b51c2e072f 100644 --- a/reactos/include/psdk/commctrl.h +++ b/reactos/include/psdk/commctrl.h @@ -2392,6 +2392,7 @@ extern "C" { #define LVFI_PARAM 0x1 #define LVFI_STRING 0x2 +#define LVFI_SUBSTRING 0x4 #define LVFI_PARTIAL 0x8 #define LVFI_WRAP 0x20 #define LVFI_NEARESTXY 0x40 @@ -4380,6 +4381,8 @@ typedef struct tagTVDISPINFOEXW { SYSTEMTIME st; } MCHITTESTINFO,*PMCHITTESTINFO; +#define MCHITTESTINFO_V1_SIZE CCSIZEOF_STRUCT(MCHITTESTINFO, st) + #define MCHT_TITLE 0x10000 #define MCHT_CALENDAR 0x20000 #define MCHT_TODAYLINK 0x30000 diff --git a/reactos/include/psdk/shellapi.h b/reactos/include/psdk/shellapi.h index 26fe6450873..ff7b94ea3f9 100644 --- a/reactos/include/psdk/shellapi.h +++ b/reactos/include/psdk/shellapi.h @@ -128,6 +128,19 @@ extern "C" { #define SHGFI_PIDL 8 #define SHGFI_USEFILEATTRIBUTES 16 +#if (NTDDI_VERSION >= NTDDI_WINXP) +#define SHIL_LARGE 0x0 +#define SHIL_SMALL 0x1 +#define SHIL_EXTRALARGE 0x2 +#define SHIL_SYSSMALL 0x3 +#if (NTDDI_VERSION >= NTDDI_VISTA) +#define SHIL_JUMBO 0x4 +#define SHIL_LAST SHIL_JUMBO +#else +#define SHIL_LAST SHIL_SYSSMALL +#endif +#endif + typedef struct _SHCREATEPROCESSINFOW { DWORD cbSize;