Huw Davies : shell32: Fix return type of SHAppBarMessage.

Alexandre Julliard julliard at winehq.org
Wed Mar 5 13:41:14 CST 2008


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Mar  5 10:46:31 2008 +0000

shell32: Fix return type of SHAppBarMessage.

---

 dlls/shell32/shell32_main.c |    2 +-
 include/shellapi.h          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c
index 336a519..c53d726 100644
--- a/dlls/shell32/shell32_main.c
+++ b/dlls/shell32/shell32_main.c
@@ -876,7 +876,7 @@ static BOOL __get_dropline( HWND hWnd, LPRECT lprect )
 /*************************************************************************
  * SHAppBarMessage            [SHELL32.@]
  */
-UINT WINAPI SHAppBarMessage(DWORD msg, PAPPBARDATA data)
+UINT_PTR WINAPI SHAppBarMessage(DWORD msg, PAPPBARDATA data)
 {
     int width=data->rc.right - data->rc.left;
     int height=data->rc.bottom - data->rc.top;
diff --git a/include/shellapi.h b/include/shellapi.h
index 5b77e53..67e8923 100644
--- a/include/shellapi.h
+++ b/include/shellapi.h
@@ -95,7 +95,7 @@ typedef struct _AppBarData
 	LPARAM	lParam;
 } APPBARDATA, *PAPPBARDATA;
 
-UINT    WINAPI SHAppBarMessage(DWORD,PAPPBARDATA);
+UINT_PTR WINAPI SHAppBarMessage(DWORD,PAPPBARDATA);
 
 /******************************************
  * SHGetFileInfo




More information about the wine-cvs mailing list