Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hotmail.com>2001-12-17 00:55:40 +0300
committerRobert Collins <rbtcollins@hotmail.com>2001-12-17 00:55:40 +0300
commit990d6d89b61f5a20a2bf0fc71f428a39a7ed1cd5 (patch)
tree4aa1de50b66fca7ee3a13cd63eb812446b261e63 /winsup/w32api
parentef848e1d4369430c9c59ecb5bbc0f9fd457be791 (diff)
2001-12-17 Robret Collins <rbtcollins@hotmail.com>
* include/commctrl.h: New typedefs for HDLAYOUT and LPHDLAYOUT based on MSDN documentation for XP.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/commctrl.h21
2 files changed, 26 insertions, 0 deletions
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 <rbtcollins@hotmail.com>
+
+ * include/commctrl.h: New typedefs for HDLAYOUT and LPHDLAYOUT based
+ on MSDN documentation for XP.
+
2001-12-07 Earnie Boyd <earnie@users.sf.net>
* 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;