mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 07:03:29 +00:00
[REACTOS][FDEBUG] Remove unnecessary DLGPROC casts.
This commit is contained in:
parent
bcbe0dd8cd
commit
fe3eb29287
2 changed files with 11 additions and 11 deletions
|
@ -218,14 +218,14 @@ DriveDlgProc(
|
||||||
DialogBoxParam(pSetupData->hInstance,
|
DialogBoxParam(pSetupData->hInstance,
|
||||||
MAKEINTRESOURCE(IDD_BOOTOPTIONS),
|
MAKEINTRESOURCE(IDD_BOOTOPTIONS),
|
||||||
hwndDlg,
|
hwndDlg,
|
||||||
(DLGPROC)MoreOptDlgProc,
|
MoreOptDlgProc,
|
||||||
(LPARAM)pSetupData);
|
(LPARAM)pSetupData);
|
||||||
break;
|
break;
|
||||||
case IDC_PARTCREATE:
|
case IDC_PARTCREATE:
|
||||||
DialogBox(pSetupData->hInstance,
|
DialogBox(pSetupData->hInstance,
|
||||||
MAKEINTRESOURCE(IDD_PARTITION),
|
MAKEINTRESOURCE(IDD_PARTITION),
|
||||||
hwndDlg,
|
hwndDlg,
|
||||||
(DLGPROC) PartitionDlgProc);
|
PartitionDlgProc);
|
||||||
break;
|
break;
|
||||||
case IDC_PARTDELETE:
|
case IDC_PARTDELETE:
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -34,9 +34,9 @@ DWORD dwThreadId = 0; // Thread id of RS23
|
||||||
ATOM MyRegisterClass(HINSTANCE hInstance);
|
ATOM MyRegisterClass(HINSTANCE hInstance);
|
||||||
BOOL InitInstance(HINSTANCE, int);
|
BOOL InitInstance(HINSTANCE, int);
|
||||||
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
|
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM);
|
INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);
|
||||||
LRESULT CALLBACK ConnectionDialogProc(HWND, UINT, WPARAM, LPARAM);
|
INT_PTR CALLBACK ConnectionDialogProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
LRESULT CALLBACK CaptureDialogProc(HWND, UINT, WPARAM, LPARAM);
|
INT_PTR CALLBACK CaptureDialogProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
VOID EnableFileMenuItemByID(UINT Id, BOOL Enable);
|
VOID EnableFileMenuItemByID(UINT Id, BOOL Enable);
|
||||||
VOID CheckLocalEchoMenuItem(BOOL Checked);
|
VOID CheckLocalEchoMenuItem(BOOL Checked);
|
||||||
VOID __cdecl Rs232Thread(VOID* Parameter);
|
VOID __cdecl Rs232Thread(VOID* Parameter);
|
||||||
|
@ -212,7 +212,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
switch (wmId)
|
switch (wmId)
|
||||||
{
|
{
|
||||||
case IDM_ABOUT:
|
case IDM_ABOUT:
|
||||||
DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);
|
DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, About);
|
||||||
break;
|
break;
|
||||||
case IDM_EXIT:
|
case IDM_EXIT:
|
||||||
DestroyWindow(hWnd);
|
DestroyWindow(hWnd);
|
||||||
|
@ -227,7 +227,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (DialogBox(hInst, (LPCTSTR)IDD_CONNECTION, hWnd, (DLGPROC)ConnectionDialogProc) == IDOK)
|
if (DialogBox(hInst, (LPCTSTR)IDD_CONNECTION, hWnd, ConnectionDialogProc) == IDOK)
|
||||||
{
|
{
|
||||||
bConnected = TRUE;
|
bConnected = TRUE;
|
||||||
EnableFileMenuItemByID(IDM_FILE_DISCONNECT, TRUE);
|
EnableFileMenuItemByID(IDM_FILE_DISCONNECT, TRUE);
|
||||||
|
@ -249,7 +249,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case IDM_FILE_STARTCAPTURE:
|
case IDM_FILE_STARTCAPTURE:
|
||||||
if (DialogBox(hInst, (LPCTSTR)IDD_CAPTURE, hWnd, (DLGPROC)CaptureDialogProc) == IDOK)
|
if (DialogBox(hInst, (LPCTSTR)IDD_CAPTURE, hWnd, CaptureDialogProc) == IDOK)
|
||||||
{
|
{
|
||||||
bCapturing = TRUE;
|
bCapturing = TRUE;
|
||||||
EnableFileMenuItemByID(IDM_FILE_STOPCAPTURE, TRUE);
|
EnableFileMenuItemByID(IDM_FILE_STOPCAPTURE, TRUE);
|
||||||
|
@ -305,7 +305,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HWND hLicenseEditWnd;
|
HWND hLicenseEditWnd;
|
||||||
TCHAR strLicense[0x1000];
|
TCHAR strLicense[0x1000];
|
||||||
|
@ -335,7 +335,7 @@ LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK ConnectionDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK ConnectionDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
UNREFERENCED_PARAMETER(lParam);
|
UNREFERENCED_PARAMETER(lParam);
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ LRESULT CALLBACK ConnectionDialogProc(HWND hDlg, UINT message, WPARAM wParam, LP
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT CALLBACK CaptureDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
INT_PTR CALLBACK CaptureDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
OPENFILENAME ofn;
|
OPENFILENAME ofn;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue