From 51198f8eb6c5aa100965658cfb305634c388f905 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Mon, 9 May 2005 19:32:33 +0000 Subject: [PATCH] Fix for CommConfigDialog*() hwnd argument. --- dlls/kernel/comm.c | 4 ++-- include/winbase.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/kernel/comm.c b/dlls/kernel/comm.c index 5f6dbd35b4a..3e09f6a8c82 100644 --- a/dlls/kernel/comm.c +++ b/dlls/kernel/comm.c @@ -2124,7 +2124,7 @@ static WCHAR lpszSerialUI[] = { */ BOOL WINAPI CommConfigDialogA( LPCSTR lpszDevice, /* [in] name of communications device */ - HANDLE hWnd, /* [in] parent window for the dialog */ + HWND hWnd, /* [in] parent window for the dialog */ LPCOMMCONFIG lpCommConfig) /* [out] pointer to struct to fill */ { FARPROC lpfnCommDialog; @@ -2154,7 +2154,7 @@ BOOL WINAPI CommConfigDialogA( */ BOOL WINAPI CommConfigDialogW( LPCWSTR lpszDevice, /* [in] name of communications device */ - HANDLE hWnd, /* [in] parent window for the dialog */ + HWND hWnd, /* [in] parent window for the dialog */ LPCOMMCONFIG lpCommConfig) /* [out] pointer to struct to fill */ { FARPROC lpfnCommDialog; diff --git a/include/winbase.h b/include/winbase.h index d6a409cc95a..6381850c988 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -1222,8 +1222,8 @@ BOOL WINAPI ClearEventLogW(HANDLE,LPCWSTR); #define ClearEventLog WINELIB_NAME_AW(ClearEventLog) BOOL WINAPI CloseEventLog(HANDLE); BOOL WINAPI CloseHandle(HANDLE); -BOOL WINAPI CommConfigDialogA(LPCSTR,HANDLE,LPCOMMCONFIG); -BOOL WINAPI CommConfigDialogW(LPCWSTR,HANDLE,LPCOMMCONFIG); +BOOL WINAPI CommConfigDialogA(LPCSTR,HWND,LPCOMMCONFIG); +BOOL WINAPI CommConfigDialogW(LPCWSTR,HWND,LPCOMMCONFIG); #define CommConfigDialog WINELIB_NAME_AW(CommConfigDialog) BOOL WINAPI ConnectNamedPipe(HANDLE,LPOVERLAPPED); BOOL WINAPI ContinueDebugEvent(DWORD,DWORD,DWORD);