Alexandre Julliard : oledb32: Return INT_PTR instead of LRESULT in dialog procedures.
Module: wine Branch: master Commit: 63895aaf2895b61bec5996d86e24b226ea149a42 URL: https://source.winehq.org/git/wine.git/?a=commit;h=63895aaf2895b61bec5996d86... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Oct 18 16:42:13 2021 +0200 oledb32: Return INT_PTR instead of LRESULT in dialog procedures. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/oledb32/dslocator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/oledb32/dslocator.c b/dlls/oledb32/dslocator.c index c74fb5133d2..95fd7687560 100644 --- a/dlls/oledb32/dslocator.c +++ b/dlls/oledb32/dslocator.c @@ -329,7 +329,7 @@ static void add_connections_providers(HWND lv) RegCloseKey(key); } -static LRESULT CALLBACK data_link_properties_dlg_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) +static INT_PTR CALLBACK data_link_properties_dlg_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) { TRACE("(%p, %08x, %08lx, %08lx)\n", hwnd, msg, wp, lp); @@ -477,7 +477,7 @@ static void connection_toggle_controls(HWND parent) EnableWindow(GetDlgItem(parent, IDC_BTN_BUILD), !checked); } -static LRESULT CALLBACK data_link_connection_dlg_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) +static INT_PTR CALLBACK data_link_connection_dlg_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) { TRACE("(%p, %08x, %08lx, %08lx)\n", hwnd, msg, wp, lp); @@ -549,7 +549,7 @@ static void advanced_fill_permission_list(HWND parent) } } -static LRESULT CALLBACK data_link_advanced_dlg_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) +static INT_PTR CALLBACK data_link_advanced_dlg_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) { TRACE("(%p, %08x, %08lx, %08lx)\n", hwnd, msg, wp, lp); @@ -593,7 +593,7 @@ static void create_page_all_columns(HWND lv) SendMessageW(lv, LVM_INSERTCOLUMNW, 0, (LPARAM)&column); } -static LRESULT CALLBACK data_link_all_dlg_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) +static INT_PTR CALLBACK data_link_all_dlg_proc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) { TRACE("(%p, %08x, %08lx, %08lx)\n", hwnd, msg, wp, lp);
participants (1)
-
Alexandre Julliard