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);