Rob Shearman : include: Add macro for ListView_GetOrigin to commctrl.h.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 19 07:02:05 CST 2007


Module: wine
Branch: master
Commit: 06f0e7238c631052763a52568b1c7c1f8eec184a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=06f0e7238c631052763a52568b1c7c1f8eec184a

Author: Rob Shearman <rob at codeweavers.com>
Date:   Sat Feb 17 20:20:54 2007 +0000

include: Add macro for ListView_GetOrigin to commctrl.h.

(Reported by David Saez Padros.)

---

 include/commctrl.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/commctrl.h b/include/commctrl.h
index 7a931f8..1415a30 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -3743,6 +3743,8 @@ typedef struct NMLVSCROLL
 #define ListView_GetItemW(hwnd,pitem) \
     (BOOL)SNDMSGW((hwnd),LVM_GETITEMW,0,(LPARAM)(LVITEMW *)(pitem))
 #define ListView_GetItem WINELIB_NAME_AW(ListView_GetItem)
+#define ListView_GetOrigin(hwnd,ppt) \
+    (BOOL)SNDMSGW((hwnd),LVM_GETORIGIN,0,(LPARAM)(POINT *)(ppt))
 
 #define ListView_HitTest(hwnd,pinfo) \
     (INT)SNDMSGA((hwnd),LVM_HITTEST,0,(LPARAM)(LPLVHITTESTINFO)(pinfo))




More information about the wine-cvs mailing list