include/commdlg.h: change CCHookProc and FRHookProc return type

Ricardo Filipe ricardo_barbano at hotmail.com
Sun Feb 8 06:56:50 CST 2009


this fixes the remaining hooks. there are no dependencies on these ones.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20090208/731324c4/attachment.htm 
-------------- next part --------------
From 8529247582b87d2cdcf652b0c35b2a3e55bdb550 Mon Sep 17 00:00:00 2001
From: Ricardo Filipe <ricardo_barbano at hotmail.com>
Date: Sun, 8 Feb 2009 12:53:32 +0000
Subject: include/commdlg.h: change CCHookProc and FRHookProc return types

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

diff --git a/include/commdlg.h b/include/commdlg.h
index eb61258..b6e40c6 100644
--- a/include/commdlg.h
+++ b/include/commdlg.h
@@ -168,7 +168,7 @@ typedef struct _OFNOTIFYEXW
 DECL_WINELIB_TYPE_AW(OFNOTIFYEX)
 DECL_WINELIB_TYPE_AW(LPOFNOTIFYEX)
 
-typedef UINT (CALLBACK *LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
+typedef UINT_PTR (CALLBACK *LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
 
 typedef struct {
 	DWORD		lStructSize;
@@ -210,7 +210,7 @@ DECL_WINELIB_TYPE_AW(LPCHOOSECOLOR)
 #define CC_SOLIDCOLOR            0x00000080
 #define CC_ANYCOLOR              0x00000100
 
-typedef UINT (CALLBACK *LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
+typedef UINT_PTR (CALLBACK *LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
 
 typedef struct {
 	DWORD		lStructSize;
-- 
1.5.6.3


More information about the wine-patches mailing list