diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 7755e7312..b787fcee2 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2001-12-17 Robret Collins + + * include/commctrl.h: New typedefs for HDLAYOUT and LPHDLAYOUT based + on MSDN documentation for XP. + 2001-12-07 Earnie Boyd * Makefile.in: Increment VERSION. diff --git a/winsup/w32api/include/commctrl.h b/winsup/w32api/include/commctrl.h index 3b97d01d1..2ed38b5f3 100644 --- a/winsup/w32api/include/commctrl.h +++ b/winsup/w32api/include/commctrl.h @@ -1240,10 +1240,31 @@ typedef struct _HD_ITEMW { LPVOID pvFilter; #endif } HD_ITEMW; +typedef struct _HDITEM { + UINT mask; + int cxy; + LPTSTR pszText; + HBITMAP hbm; + int cchTextMax; + int fmt; + LPARAM lParam; +#if (_WIN32_IE >= 0x0300) + int iImage; + int iOrder; +#endif +#if (_WIN32_IE >= 0x0500) + UINT type; + LPVOID pvFilter; +#endif +} HDITEM, FAR * LPHDITEM; typedef struct _HD_LAYOUT { RECT *prc; WINDOWPOS *pwpos; } HD_LAYOUT; +typedef struct _HD_LAYOUT_XP { + RECT FAR* prc; + WINDOWPOS FAR* pwpos; +} HDLAYOUT, FAR *LPHDLAYOUT; typedef struct _HD_HITTESTINFO { POINT pt; UINT flags;