Author: mkupfer
Date: Mon Nov 17 07:35:59 2008
New Revision: 37401
URL:
http://svn.reactos.org/svn/reactos?rev=37401&view=rev
Log:
- disable non-working device selection code
- add a missing "break"
Modified:
trunk/reactos/base/setup/reactos/reactos.c
Modified: trunk/reactos/base/setup/reactos/reactos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/reactos/reactos…
==============================================================================
--- trunk/reactos/base/setup/reactos/reactos.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/reactos/reactos.c [iso-8859-1] Mon Nov 17 07:35:59 2008
@@ -535,10 +535,10 @@
(WPARAM)sizeof(SetupData.InstallDir)/sizeof(TCHAR),(LPARAM)SetupData.InstallDir);
EndDialog(hwndDlg, IDOK);
- break;
+ return TRUE;
case IDCANCEL:
EndDialog(hwndDlg, IDCANCEL);
- break;
+ return TRUE;
}
}
return FALSE;
@@ -559,10 +559,10 @@
{
case IDOK:
EndDialog(hwndDlg, IDOK);
- break;
+ return TRUE;
case IDCANCEL:
EndDialog(hwndDlg, IDCANCEL);
- break;
+ return TRUE;
}
}
return FALSE;
@@ -574,10 +574,12 @@
WPARAM wParam,
LPARAM lParam)
{
+#if 0
HDEVINFO h;
HWND hList;
SP_DEVINFO_DATA DevInfoData;
DWORD i;
+#endif
switch (uMsg)
{
case WM_INITDIALOG:
@@ -596,6 +598,7 @@
WM_SETFONT,
(WPARAM)hTitleFont,
(LPARAM)TRUE);*/
+#if 0
h = SetupDiGetClassDevs(&GUID_DEVCLASS_DISKDRIVE, NULL, NULL,
DIGCF_PRESENT);
if (h != INVALID_HANDLE_VALUE)
@@ -627,6 +630,7 @@
}
SetupDiDestroyDeviceInfoList(h);
}
+#endif
}
break;
case WM_COMMAND:
@@ -634,14 +638,15 @@
switch(LOWORD(wParam))
{
case IDC_PARTMOREOPTS:
- DialogBox(hInstance,MAKEINTRESOURCE(IDD_BOOTOPTIONS),hwndDlg,MoreOptDlgProc);
+ DialogBox(hInstance,MAKEINTRESOURCE(IDD_BOOTOPTIONS),hwndDlg,(DLGPROC)MoreOptDlgProc);
break;
case IDC_PARTCREATE:
- DialogBox(hInstance,MAKEINTRESOURCE(IDD_PARTITION),hwndDlg,PartitionDlgProc);
+ DialogBox(hInstance,MAKEINTRESOURCE(IDD_PARTITION),hwndDlg,(DLGPROC)PartitionDlgProc);
break;
case IDC_PARTDELETE:
break;
}
+ break;
}
case WM_NOTIFY: