Mike McCormack : winemine: Fix dialog proc prototypes for Win64.
Module: wine Branch: refs/heads/master Commit: a4eb809fb2a8751f6f494ddb772694e4dbf9fefb URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a4eb809fb2a8751f6f494ddb... Author: Mike McCormack <mike(a)codeweavers.com> Date: Sun Jun 4 00:28:04 2006 +0900 winemine: Fix dialog proc prototypes for Win64. --- programs/winemine/dialog.c | 8 ++++---- programs/winemine/main.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/programs/winemine/dialog.c b/programs/winemine/dialog.c index c9139b2..fb7efb2 100644 --- a/programs/winemine/dialog.c +++ b/programs/winemine/dialog.c @@ -24,7 +24,7 @@ #include <windows.h> #include "main.h" #include "resource.h" -BOOL CALLBACK CustomDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) +INT_PTR CALLBACK CustomDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) { BOOL IsRet; static BOARD *p_board; @@ -56,7 +56,7 @@ BOOL CALLBACK CustomDlgProc( HWND hDlg, return FALSE; } -BOOL CALLBACK CongratsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) +INT_PTR CALLBACK CongratsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) { static BOARD *p_board; @@ -85,7 +85,7 @@ BOOL CALLBACK CongratsDlgProc( HWND hDlg return FALSE; } -BOOL CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) +INT_PTR CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) { static BOARD *p_board; unsigned i; @@ -115,7 +115,7 @@ BOOL CALLBACK TimesDlgProc( HWND hDlg, U return FALSE; } -BOOL CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) +INT_PTR CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) { switch( uMsg ) { case WM_INITDIALOG: diff --git a/programs/winemine/main.h b/programs/winemine/main.h index dba54ec..bc257b8 100644 --- a/programs/winemine/main.h +++ b/programs/winemine/main.h @@ -170,12 +170,12 @@ void DrawFace( HDC hdc, HDC hMemDC, BOAR LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); -BOOL CALLBACK CustomDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); +INT_PTR CALLBACK CustomDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); -BOOL CALLBACK CongratsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); +INT_PTR CALLBACK CongratsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); -BOOL CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); +INT_PTR CALLBACK TimesDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); -BOOL CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); +INT_PTR CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ); /* end of header */
participants (1)
-
Alexandre Julliard