rescan.c (c2c66aff) rescan.c (2ba6b097)
1/*
2 * PROJECT: ReactOS DiskPart
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/system/diskpart/rescan.c
5 * PURPOSE: Manages all the partitions of the OS in an interactive way.
6 * PROGRAMMERS: Lee Schroeder
7 */
8
9#include "diskpart.h"
10
11BOOL rescan_main(INT argc, LPWSTR *argv)
12{
13 ConResPuts(StdOut, IDS_RESCAN_START);
1/*
2 * PROJECT: ReactOS DiskPart
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: base/system/diskpart/rescan.c
5 * PURPOSE: Manages all the partitions of the OS in an interactive way.
6 * PROGRAMMERS: Lee Schroeder
7 */
8
9#include "diskpart.h"
10
11BOOL rescan_main(INT argc, LPWSTR *argv)
12{
13 ConResPuts(StdOut, IDS_RESCAN_START);
14 DestroyVolumeList();
14 DestroyPartitionList();
15 CreatePartitionList();
15 DestroyPartitionList();
16 CreatePartitionList();
17 CreateVolumeList();
16 ConResPuts(StdOut, IDS_RESCAN_END);
17
18 return TRUE;
19}
18 ConResPuts(StdOut, IDS_RESCAN_END);
19
20 return TRUE;
21}