From 61b9f929185ca179ea3996acd939877d6a836428 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sat, 4 Jan 2003 10:58:36 +0000 Subject: [PATCH] * include/commctrl.h (TOOLINFO[AW]: Update structures. (LVHITTESTINFO): Likewise. * include/wingdi.h (GRADIENT_TRIANGLE): Add structure. (GRADIENT_RECT): Likewise. --- winsup/w32api/ChangeLog | 8 ++++++++ winsup/w32api/include/commctrl.h | 9 +++++++++ winsup/w32api/include/wingdi.h | 9 +++++++++ 3 files changed, 26 insertions(+) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index cddf5978d..854551e35 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,11 @@ +2003-01-04 Danny Smith + + * include/commctrl.h (TOOLINFO[AW]: Update structures. + (LVHITTESTINFO): Likewise. + + * include/wingdi.h (GRADIENT_TRIANGLE): Add structure. + (GRADIENT_RECT): Likewise. + 2003-01-03 Bang Jun-Young * include/winerror.h (ERROR_OPLOCK_NOT_GRANTED, diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h index 328b54673..4ad2e9c2d 100644 --- a/winsup/w32api/include/commctrl.h +++ b/winsup/w32api/include/commctrl.h @@ -1634,6 +1634,9 @@ typedef struct tagTOOLINFOA { RECT rect; HINSTANCE hinst; LPSTR lpszText; +#if (_WIN32_IE >= 0x0300) + LPARAM lParam; +#endif } TOOLINFOA,*PTOOLINFOA,*LPTOOLINFOA; typedef struct tagTOOLINFOW { UINT cbSize; @@ -1643,6 +1646,9 @@ typedef struct tagTOOLINFOW { RECT rect; HINSTANCE hinst; LPWSTR lpszText; +#if (_WIN32_IE >= 0x0300) + LPARAM lParam; +#endif } TOOLINFOW,*PTOOLINFOW,*LPTOOLINFOW; typedef struct _TT_HITTESTINFOA { HWND hwnd; @@ -1741,6 +1747,9 @@ typedef struct _LVHITTESTINFO { POINT pt; UINT flags; int iItem; +#if (_WIN32_IE >= 0x0300) + int iSubItem; +#endif } LVHITTESTINFO; #define _LV_HITTESTINFO _LVHITTESTINFO #define LV_HITTESTINFO LVHITTESTINFO diff --git a/winsup/w32api/include/wingdi.h b/winsup/w32api/include/wingdi.h index 1d6d2a0aa..7fd90e8f6 100644 --- a/winsup/w32api/include/wingdi.h +++ b/winsup/w32api/include/wingdi.h @@ -2359,6 +2359,15 @@ typedef struct _TRIVERTEX { COLOR16 Blue; COLOR16 Alpha; } TRIVERTEX, *PTRIVERTEX, *LPTRIVERTEX; +typedef struct _GRADIENT_TRIANGLE { + ULONG Vertex1; + ULONG Vertex2; + ULONG Vertex3; +} GRADIENT_TRIANGLE,*PGRADIENT_TRIANGLE,*LPGRADIENT_TRIANGLE; +typedef struct _GRADIENT_RECT { + ULONG UpperLeft; + ULONG LowerRight; +}GRADIENT_RECT,*PGRADIENT_RECT,*LPGRADIENT_RECT; typedef struct _DISPLAY_DEVICE { DWORD cb; WCHAR DeviceName[32];