2011-09-24 10:33:33 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS DiskPart
|
|
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
|
|
* FILE: base/system/diskpart/rescan.c
|
2016-10-01 22:58:21 +00:00
|
|
|
* PURPOSE: Manages all the partitions of the OS in an interactive way.
|
2011-09-24 10:33:33 +00:00
|
|
|
* PROGRAMMERS: Lee Schroeder
|
|
|
|
*/
|
2014-01-13 13:07:50 +00:00
|
|
|
|
2011-09-24 10:33:33 +00:00
|
|
|
#include "diskpart.h"
|
|
|
|
|
2013-05-29 11:40:43 +00:00
|
|
|
BOOL rescan_main(INT argc, LPWSTR *argv)
|
2011-09-24 10:33:33 +00:00
|
|
|
{
|
2016-10-07 22:50:32 +00:00
|
|
|
ConResPuts(StdOut, IDS_RESCAN_START);
|
2022-03-26 14:18:08 +00:00
|
|
|
DestroyVolumeList();
|
2015-07-24 20:02:56 +00:00
|
|
|
DestroyPartitionList();
|
|
|
|
CreatePartitionList();
|
2022-03-26 14:18:08 +00:00
|
|
|
CreateVolumeList();
|
2016-10-07 22:50:32 +00:00
|
|
|
ConResPuts(StdOut, IDS_RESCAN_END);
|
2015-07-24 20:02:56 +00:00
|
|
|
|
2011-09-24 10:33:33 +00:00
|
|
|
return TRUE;
|
|
|
|
}
|