mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[SERIALUI] Set the stdcall calling convention for CommDlgProc() and make it return INT_PTR. CORE-11799 (#94)
This commit is contained in:
parent
ba8f75557a
commit
830fc82afe
2 changed files with 8 additions and 6 deletions
|
@ -113,7 +113,7 @@ DWORD WINAPI drvCommConfigDialogW(LPCWSTR lpszDevice,
|
|||
DialogInfo.lpCC = lpCommConfig;
|
||||
|
||||
return DialogBoxParamW(hDllInstance, MAKEINTRESOURCEW(IDD_COMMDLG),
|
||||
hWnd, (DLGPROC)CommDlgProc, (LPARAM)&DialogInfo);
|
||||
hWnd, CommDlgProc, (LPARAM)&DialogInfo);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -186,10 +186,9 @@ DWORD WINAPI drvGetDefaultCommConfigA(LPCSTR lpszDevice,
|
|||
*
|
||||
************************************/
|
||||
|
||||
LRESULT CommDlgProc(HWND hDlg,
|
||||
UINT Msg,
|
||||
WPARAM wParam,
|
||||
LPARAM lParam)
|
||||
INT_PTR
|
||||
CALLBACK
|
||||
CommDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
LPDIALOG_INFO lpDlgInfo = NULL;
|
||||
HWND hBox;
|
||||
|
|
|
@ -82,7 +82,10 @@ DWORD WINAPI drvGetDefaultCommConfigA(LPCSTR lpszDevice,
|
|||
*
|
||||
************************************/
|
||||
|
||||
LRESULT CommDlgProc(HWND hDlg,
|
||||
INT_PTR
|
||||
CALLBACK
|
||||
CommDlgProc(
|
||||
HWND hDlg,
|
||||
UINT Msg,
|
||||
WPARAM wParam,
|
||||
LPARAM lParam);
|
||||
|
|
Loading…
Reference in a new issue