From 4986ba35c3a3fe13a03a77a34fc313761a3c64b1 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 8 May 2013 18:15:34 +0900 Subject: [PATCH] include/commdlg.h: Fix definition of LPPRINTHOOKPROC and LPSETUPHOOKPROC. --- dlls/comdlg32/printdlg.c | 2 +- include/commdlg.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c index e3b89eaf965..3c3fab3d713 100644 --- a/dlls/comdlg32/printdlg.c +++ b/dlls/comdlg32/printdlg.c @@ -3987,7 +3987,7 @@ struct callback_data IObjectWithSite *object; }; -static UINT CALLBACK pdlgex_hook_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) +static UINT_PTR CALLBACK pdlgex_hook_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) { if (msg == WM_INITDIALOG) { diff --git a/include/commdlg.h b/include/commdlg.h index db5aaaa8225..df56c143c08 100644 --- a/include/commdlg.h +++ b/include/commdlg.h @@ -531,8 +531,8 @@ static const WCHAR HELPMSGSTRINGW[] = { 'c','o','m','m','d','l','g','_', (void)SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext) -typedef UINT (CALLBACK *LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM); -typedef UINT (CALLBACK *LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM); +typedef UINT_PTR (CALLBACK *LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM); +typedef UINT_PTR (CALLBACK *LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM); typedef struct tagPDA {