mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:06:52 +00:00
- disable non-working device selection code
- add a missing "break" svn path=/trunk/; revision=37401
This commit is contained in:
parent
10d51f11d6
commit
78f5f0f5cc
1 changed files with 11 additions and 6 deletions
|
@ -535,10 +535,10 @@ MoreOptDlgProc(HWND hwndDlg,
|
||||||
(WPARAM)sizeof(SetupData.InstallDir)/sizeof(TCHAR),(LPARAM)SetupData.InstallDir);
|
(WPARAM)sizeof(SetupData.InstallDir)/sizeof(TCHAR),(LPARAM)SetupData.InstallDir);
|
||||||
|
|
||||||
EndDialog(hwndDlg, IDOK);
|
EndDialog(hwndDlg, IDOK);
|
||||||
break;
|
return TRUE;
|
||||||
case IDCANCEL:
|
case IDCANCEL:
|
||||||
EndDialog(hwndDlg, IDCANCEL);
|
EndDialog(hwndDlg, IDCANCEL);
|
||||||
break;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -559,10 +559,10 @@ PartitionDlgProc(HWND hwndDlg,
|
||||||
{
|
{
|
||||||
case IDOK:
|
case IDOK:
|
||||||
EndDialog(hwndDlg, IDOK);
|
EndDialog(hwndDlg, IDOK);
|
||||||
break;
|
return TRUE;
|
||||||
case IDCANCEL:
|
case IDCANCEL:
|
||||||
EndDialog(hwndDlg, IDCANCEL);
|
EndDialog(hwndDlg, IDCANCEL);
|
||||||
break;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -574,10 +574,12 @@ DriveDlgProc(HWND hwndDlg,
|
||||||
WPARAM wParam,
|
WPARAM wParam,
|
||||||
LPARAM lParam)
|
LPARAM lParam)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
HDEVINFO h;
|
HDEVINFO h;
|
||||||
HWND hList;
|
HWND hList;
|
||||||
SP_DEVINFO_DATA DevInfoData;
|
SP_DEVINFO_DATA DevInfoData;
|
||||||
DWORD i;
|
DWORD i;
|
||||||
|
#endif
|
||||||
switch (uMsg)
|
switch (uMsg)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
|
@ -596,6 +598,7 @@ DriveDlgProc(HWND hwndDlg,
|
||||||
WM_SETFONT,
|
WM_SETFONT,
|
||||||
(WPARAM)hTitleFont,
|
(WPARAM)hTitleFont,
|
||||||
(LPARAM)TRUE);*/
|
(LPARAM)TRUE);*/
|
||||||
|
#if 0
|
||||||
h = SetupDiGetClassDevs(&GUID_DEVCLASS_DISKDRIVE, NULL, NULL,
|
h = SetupDiGetClassDevs(&GUID_DEVCLASS_DISKDRIVE, NULL, NULL,
|
||||||
DIGCF_PRESENT);
|
DIGCF_PRESENT);
|
||||||
if (h != INVALID_HANDLE_VALUE)
|
if (h != INVALID_HANDLE_VALUE)
|
||||||
|
@ -627,6 +630,7 @@ DriveDlgProc(HWND hwndDlg,
|
||||||
}
|
}
|
||||||
SetupDiDestroyDeviceInfoList(h);
|
SetupDiDestroyDeviceInfoList(h);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
|
@ -634,14 +638,15 @@ DriveDlgProc(HWND hwndDlg,
|
||||||
switch(LOWORD(wParam))
|
switch(LOWORD(wParam))
|
||||||
{
|
{
|
||||||
case IDC_PARTMOREOPTS:
|
case IDC_PARTMOREOPTS:
|
||||||
DialogBox(hInstance,MAKEINTRESOURCE(IDD_BOOTOPTIONS),hwndDlg,MoreOptDlgProc);
|
DialogBox(hInstance,MAKEINTRESOURCE(IDD_BOOTOPTIONS),hwndDlg,(DLGPROC)MoreOptDlgProc);
|
||||||
break;
|
break;
|
||||||
case IDC_PARTCREATE:
|
case IDC_PARTCREATE:
|
||||||
DialogBox(hInstance,MAKEINTRESOURCE(IDD_PARTITION),hwndDlg,PartitionDlgProc);
|
DialogBox(hInstance,MAKEINTRESOURCE(IDD_PARTITION),hwndDlg,(DLGPROC)PartitionDlgProc);
|
||||||
break;
|
break;
|
||||||
case IDC_PARTDELETE:
|
case IDC_PARTDELETE:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
case WM_NOTIFY:
|
case WM_NOTIFY:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue